projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7970aaf
)
git-request-pull: replace call to deprecated peek-remote
author
Ramsay Jones
<ramsay@ramsay1.demon.co.uk>
Tue, 8 Jul 2008 23:32:15 +0000
(
00:32
+0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 13 Jul 2008 23:08:27 +0000
(16:08 -0700)
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-request-pull.sh
patch
|
blob
|
history
diff --git
a/git-request-pull.sh
b/git-request-pull.sh
index 068f5e0fc7308db601141bc3e70475ec2145ef67..073a314c8043e0ff30afde65e012e356ff0d186f 100755
(executable)
--- a/
git-request-pull.sh
+++ b/
git-request-pull.sh
@@
-26,7
+26,7
@@
merge_base=`git merge-base $baserev $headrev` ||
die "fatal: No commits in common between $base and $head"
url=$(get_remote_url "$url")
-branch=$(git
peek
-remote "$url" \
+branch=$(git
ls
-remote "$url" \
| sed -n -e "/^$headrev refs.heads./{
s/^.* refs.heads.//
p