Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-stash.sh: fix flawed fix of invalid ref handling (commit da65e7c1)
[gitweb.git]
/
git-request-pull.sh
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