Re: [PATCH 5/6] status: do not depend on flaky reflog messages
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jun 15, 2013, 12:13 UTC
- Message-ID
- <CALkWK0nho2SgK3sBibqvPJLhEQw=cSmX3rdQ5LiQTEQkMhRnoQ@mail.gmail.com>
- In-Reply-To
- <7vobb7lmpi.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 12 quoted lines
> The first line from status in the middle of > a rebase is secondary. End-user initiated "checkout" to detach is > the primary thing. > >> 3. The problem is not unique to rebase at all; yet you have >> special-cased it. If this isn't a band-aid, what is? > > It is an illustration for approach (2) in the other message. > > In the longer term, you would want richer status output for various > detached state, and that "how about this" patch shows where new code > to support other cases should be added.
Fine. If that is what you want, we'll have to special-case every known script-in-progress to stop writing the usual "HEAD detached from" message. That'll leave out only the "end-user cases", where you argue that the message is helpful.