Jakub Narebski <jnareb@xxxxxxxxx> writes: > + this_branch=$refname > + other_branches=$(git for-each-ref --format='%(refname)' refs/heads/ | > + grep -v $this_branch) This is still not quite right. grep -F -v "$this_branch" perhaps? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html