Re: [PATCH 2/2] checkout: do not mention detach advice for explicit --detach option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 15, 2016, 22:38 UTC
- Message-ID
- <xmqqvaz1ejzk.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160815211354.vsyg3lpira6pttom@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
>> REF_NODEREF, UPDATE_REFS_DIE_ON_ERR);
>> if (!opts->quiet) {
>> if (old->path &&
>> - (advice_detached_head == 1 ||
>> - (advice_detached_head == -1 && !opts->force_detach)))
>> + advice_detached_head == 1 && !opts->force_detach)
>
> Maybe s/== 1//?Surely, and thanks.