From: Kris Shannon Date: Wed, 17 Aug 2005 03:02:16 +0000 (+1000) Subject: [PATCH] Be consistent in naming of remote heads X-Git-Tag: v0.99.5~16^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d5a8664ed50ad86a6cdd0c096c20e4d1e64d818b;p=git.git [PATCH] Be consistent in naming of remote heads The _remote_name variable used for messages does not need the refs/heads/ prefix included. Signed-off-by: Kris Shannon Signed-off-by: Junio C Hamano --- diff --git a/git-parse-remote b/git-parse-remote index bfe7a906..53c5842e 100755 --- 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 ;;