[PATCH] Use stdin reflist passing in parse-remote

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Julian Phillips
Date: Monday, February 12, 2007 - 6:21 pm

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>
---
 git-parse-remote.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 9b19a21..185eb54 100755
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -81,7 +81,7 @@ 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.
-- 
1.4.4.4

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PU PATCH] Fix git fetch for very large ref counts, Julian Phillips, (Mon Feb 12, 6:21 pm)
[PATCH] Allow fetch--tool to read from stdin, Julian Phillips, (Mon Feb 12, 6:21 pm)
[PATCH] Use stdin reflist passing in parse-remote, Julian Phillips, (Mon Feb 12, 6:21 pm)
[PATCH] Use stdin reflist passing in git-fetch.sh, Julian Phillips, (Mon Feb 12, 6:21 pm)
Re: [PATCH] Use stdin reflist passing in git-fetch.sh, Linus Torvalds, (Mon Feb 12, 7:31 pm)
Re: [PU PATCH] Fix git fetch for very large ref counts, Junio C Hamano, (Mon Feb 12, 8:18 pm)
Re: [PU PATCH] Fix git fetch for very large ref counts, Julian Phillips, (Tue Feb 13, 3:39 am)
Re: [PU PATCH] Fix git fetch for very large ref counts, Junio C Hamano, (Tue Feb 13, 10:58 am)