From: Martin Waitz <tali@admingilde.org>
To: git@vger.kernel.org
Subject: git-fetch --update-head-ok ?
Date: Tue, 3 Oct 2006 14:34:52 +0200 [thread overview]
Message-ID: <20061003123452.GK2871@admingilde.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
hoi :)
I have no idea why there is a --update-head-ok, but the code looks
like it has a typo:
diff --git a/git-fetch.sh b/git-fetch.sh
index 09a5d6c..5843639 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -433,7 +433,7 @@ esac
# If the original head was empty (i.e. no "master" yet), or
# if we were told not to worry, we do not have to check.
case ",$update_head_ok,$orig_head," in
-*,, | t,* )
+*,, | ,t,* )
;;
*)
curr_head=$(git-rev-parse --verify HEAD 2>/dev/null)
--
Martin Waitz
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2006-10-03 12:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-03 12:34 Martin Waitz [this message]
2006-10-11 5:25 ` git-fetch --update-head-ok ? Junio C Hamano
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=20061003123452.GK2871@admingilde.org \
--to=tali@admingilde.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).