summaryrefslogtreecommitdiff
path: root/git-parse-remote
diff options
context:
space:
mode:
authorLibravatar Kris Shannon <kris.shannon@gmail.com>2005-08-17 13:02:16 +1000
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-17 12:13:12 -0700
commitd5a8664ed50ad86a6cdd0c096c20e4d1e64d818b (patch)
tree0fe8785b9d27ce92b2d5cba8b104241e81c65bb5 /git-parse-remote
parent[PATCH] use it's and its correctly in documentation (diff)
downloadtgif-d5a8664ed50ad86a6cdd0c096c20e4d1e64d818b.tar.xz
[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 <kris.shannon@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-parse-remote')
-rwxr-xr-xgit-parse-remote2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-parse-remote b/git-parse-remote
index bfe7a906d9..53c5842ef3 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
;;