summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Shannon <kris.shannon@gmail.com>2005-08-17 03:02:16 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-17 19:13:12 (GMT)
commitd5a8664ed50ad86a6cdd0c096c20e4d1e64d818b (patch)
tree0fe8785b9d27ce92b2d5cba8b104241e81c65bb5
parentcdacb6208fdb6779b21350644d61bd90e63db3d5 (diff)
downloadgit-d5a8664ed50ad86a6cdd0c096c20e4d1e64d818b.zip
git-d5a8664ed50ad86a6cdd0c096c20e4d1e64d818b.tar.gz
git-d5a8664ed50ad86a6cdd0c096c20e4d1e64d818b.tar.bz2
[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>
-rwxr-xr-xgit-parse-remote2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-parse-remote b/git-parse-remote
index bfe7a90..53c5842 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
;;