projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdacb62
)
[PATCH] Be consistent in naming of remote heads
author
Kris Shannon
<kris.shannon@gmail.com>
Wed, 17 Aug 2005 03:02:16 +0000
(13:02 +1000)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 17 Aug 2005 19:13:12 +0000
(12:13 -0700)
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>
git-parse-remote
patch
|
blob
|
history
diff --git
a/git-parse-remote
b/git-parse-remote
index
bfe7a90
..
53c5842
100755
(executable)
--- 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
;;