git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-fetch --update-head-ok ?
@ 2006-10-03 12:34 Martin Waitz
  2006-10-11  5:25 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Waitz @ 2006-10-03 12:34 UTC (permalink / raw)
  To: git

[-- 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 --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-11  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03 12:34 git-fetch --update-head-ok ? Martin Waitz
2006-10-11  5:25 ` Junio C Hamano

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).