Please, add this: diff --git a/git-parse-remote.sh b/git-parse-remote.sh index 617d022..a792323 100755 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -260,7 +260,7 @@ get_ref_for_remote_branch (){ remotes) ref=$(sed -ne '/^Pull: */{ s///p - }' "$GIT_DIR/remotes/$1" | grep "$2:") + }' "$GIT_DIR/remotes/$1" | grep "^$2:") expr "z$ref" : 'z[^:]*:\(.*\)' ;; *) - 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