From: "Santi Béjar" <sbejar@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Re: [RFC/PATCH] git-fetch: Use already fetched branch with the --local flag.
Date: Tue, 17 Oct 2006 16:03:30 +0200 [thread overview]
Message-ID: <873b9n9gzx.fsf@gmail.com> (raw)
In-Reply-To: <87ac3w8jl1.fsf@gmail.com> (Santi Béjar's message of "Mon, 16 Oct 2006 15:40:42 +0200")
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[^:]*:\(.*\)'
;;
*)
prev parent reply other threads:[~2006-10-17 14:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 13:40 [RFC/PATCH] git-fetch: Use already fetched branch with the --local flag Santi Béjar
2006-10-17 7:14 ` Junio C Hamano
2006-10-17 8:36 ` Santi Béjar
2006-10-17 14:03 ` Santi Béjar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873b9n9gzx.fsf@gmail.com \
--to=sbejar@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.