Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Shannon <kris.shannon@gmail.com>2005-08-17 07:02:16 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-17 23:13:12 +0400
commitd5a8664ed50ad86a6cdd0c096c20e4d1e64d818b (patch)
tree0fe8785b9d27ce92b2d5cba8b104241e81c65bb5
parentcdacb6208fdb6779b21350644d61bd90e63db3d5 (diff)
[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 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
;;