From: Junio C Hamano <gitster@pobox.com>
To: Gerrit Pape <pape@smarden.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-clone.sh: properly configure remote even if remote's head is dangling
Date: Wed, 20 Feb 2008 12:17:52 -0800 [thread overview]
Message-ID: <7vbq6b4c27.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080220151017.17840.qmail@767a223c93e1c8.315fe32.mid.smarden.org> (Gerrit Pape's message of "Wed, 20 Feb 2008 15:10:17 +0000")
Gerrit Pape <pape@smarden.org> writes:
> When cloning a remote repository which's HEAD refers to a nonexistent
> ref, git-clone cloned all existing refs, but failed to write the
> configuration for 'remote'. Now it detects the dangling remote HEAD,
> refuses to checkout any local branch since HEAD refers to nowhere, but
> properly writes the configuration for 'remote', so that subsequent
> 'git fetch's don't fail.
The patch looks Ok, thanks.
By the way, I am still waiting for an ack/nack to my butchering
of your earlier "hash-object" patch.
http://thread.gmane.org/gmane.comp.version-control.git/73811/focus=73964
Message-Id: <7vskzugm8x.fsf@gitster.siamese.dyndns.org>
prev parent reply other threads:[~2008-02-20 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 15:10 [PATCH] git-clone.sh: properly configure remote even if remote's head is dangling Gerrit Pape
2008-02-20 15:18 ` Johannes Schindelin
2008-02-20 20:17 ` Junio C Hamano [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=7vbq6b4c27.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=pape@smarden.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).