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

Re: [PATCH] git-clone.sh: properly configure remote even if remote's head is dangling

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:15

Gerrit Pape [off-list ref] 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: [ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help