From d5a8664ed50ad86a6cdd0c096c20e4d1e64d818b Mon Sep 17 00:00:00 2001 From: Kris Shannon Date: Wed, 17 Aug 2005 13:02:16 +1000 Subject: [PATCH] [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 --- git-parse-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- 2.11.0