Re: `git stash pop` UX Problem
- From
- Stephen Leake <stephen_leake@stephe-leake.org>
- Date
- Feb 27, 2014, 13:25 UTC
- Message-ID
- <85ios03cy1.fsf@stephe-leake.org>
- In-Reply-To
- <vpqzjlez3c4.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 11 quoted lines
> Omar Othman <omar.othman@booking.com> writes: > >> Though I don't know why you think this is important: >>> Now, the real question is: when would Git stop showing this advice. I >>> don't see a real way to answer this, and I'd rather avoid doing just a >>> guess. >> If it is really annoying for the user, we can just have a >> configuration parameter to switch this message on/off. > > Just saying "You have X stash" is OK to me as long as there is an option > to deactivate it.
+1
> Hinting "You should now run "git stash drop"." OTOH is far more dangerous > if guessed wrong. Keeping a stash active when you don't need it does no > real harm, but droping one you actually needed is data loss.
I agree giving possibly incorrect advice is bad.
Can you construct a use case where git will give incorrect advice?
I don't know git well enough to do that, nor to assert that it will never happen.
I think we need a more concrete proposal to move this forward.
-- -- Stephe