Thread (1 message) 1 message, 1 author, 2016-06-15
DORMANTno replies

[PATCH 1/5] fetch: Reset remote refs list each time fetch_main is called

From: Santi Béjar <hidden>
Date: 2016-06-15 22:42:42
Subsystem: the rest · Maintainer: Linus Torvalds

This prevents the fetch of the heads again in the second call of fetch_main.

Signed-off-by: Santi Béjar <redacted>
---
 git-fetch.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-fetch.sh b/git-fetch.sh
index bcc67ab..f1522bd 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -257,6 +257,7 @@ fi
 fetch_main () {
   reflist="$1"
   refs=
+  rref=
 
   for ref in $reflist
   do
-- 
1.4.2.1.g38049
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help