Re: Is origin/HEAD only being created on clone a bug? #leftoverbits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 30, 2018, 02:46 UTC
- Message-ID
- <xmqqbmcxg8sn.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <xmqqo9gyey13.fsf@gitster-ct.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 10 quoted lines
> - When we fetch from a remote that has refs/remotes/$name/HEAD, and > if the protocol notices that their HEAD today is pointing to a > branch different from what our side has, should we repoint ours > to match? > > I am leaning against doing this, but mostly out of superstition. > ... > interested in". But once fetch starts messing with where > origin/HEAD points at, that would no longer be the case, which is > why I am against doing something magical like that.
Well, I shouldn't say "I am against" on the last line; rather, "I feel uneasy".