Re: [PATCH 2/2] checkout: do not mention detach advice for explicit --detach option

From
Junio C Hamano <hidden>
Date
2016-08-15 21:05:34
Jeff King [off-list ref] writes:
I don't think doing it this way is _wrong_. It just feels sort of
pointlessly over-engineered. It's also a little weird that all of the:

  if (advice_foo)

will trigger because "advice_foo" is set to -1. I think it does the
right thing, but it feels like a bug (the value is now a tri-state, and
we silently collapse two states into one).
Guilty as charged.  I do agree that this is over-engineered.
Thread (1 message) 1 message, 1 author, 2016-08-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help