Re: [RFC/PATCH] Re: git submodule -b ... of current HEAD fails
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 29, 2010, 00:34 UTC
- Message-ID
- <7vlj39to1t.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4D1A7B42.1050907@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
> But doesn't this change only affect the case where the submodule is > freshly cloned, so there is no chance of losing local changes?
My fault, for not looking at the surrounding context.
> (But AFAIK the patch doesn't really fix the issue, please see [1] and > Jonathan's followup) > > [1] http://thread.gmane.org/gmane.linux.debian.devel.bugs.general/772659/focus=163242
I think we queued the later round just uses "checkout -B"; shouldn't that work?