The _remote_name variable used for messages does not need the
refs/heads/ prefix included.

Signed-off-by: Kris Shannon <[EMAIL PROTECTED]>
---

 git-parse-remote |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

9e7a4358b1792be188df87debf564e46acdb39d4
diff --git a/git-parse-remote b/git-parse-remote
--- a/git-parse-remote
+++ b/git-parse-remote
@@ -71,8 +71,8 @@ tag)
        '')
                _remote_head=HEAD ;;
        *)
-               _remote_head="refs/heads/$_remote_head"
                _remote_name="head '$_remote_head' of $_remote_name"
+               _remote_head="refs/heads/$_remote_head"
                ;;
        esac
        ;;
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to