Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Use stdin reflist passing in parse-remote
author
Julian Phillips
<jp3@quantumfyre.co.uk>
Tue, 13 Feb 2007 01:21:40 +0000
(
01:21
+0000)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 14 Feb 2007 05:43:53 +0000
(21:43 -0800)
Use the new stdin reflist passing mechanism for the call to
fetch--tool expand-refs-wildcard, allowing passing of more
than ~128K of reflist data.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-parse-remote.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
46ce8b6
)
diff --git
a/git-parse-remote.sh
b/git-parse-remote.sh
index 9b19a21667e5d8e000479b25d60cd620d6df4154..c46131f6d6619aa07ddb72265583b1de0832ff3e 100755
(executable)
--- a/
git-parse-remote.sh
+++ b/
git-parse-remote.sh
@@
-81,7
+81,8
@@
get_remote_default_refs_for_push () {
# is to help prevent randomly "globbed" ref from being chosen as
# a merge candidate
expand_refs_wildcard () {
- git fetch--tool expand-refs-wildcard "$ls_remote_result" "$@"
+ echo "$ls_remote_result" |
+ git fetch--tool expand-refs-wildcard "-" "$@"
}
# Subroutine to canonicalize remote:local notation.