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

Re: [RFC/PATCH] git-fetch: Use already fetched branch with the --local flag.

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

Possibly related (same subject, not in this thread)

Please, add this:
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 617d022..a792323 100755
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -260,7 +260,7 @@ get_ref_for_remote_branch (){
 	remotes)
 		ref=$(sed -ne '/^Pull: */{
 				s///p
-			}' "$GIT_DIR/remotes/$1" | grep "$2:")
+			}' "$GIT_DIR/remotes/$1" | grep "^$2:")
 		expr "z$ref" : 'z[^:]*:\(.*\)'
 		;;
 	*)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help