Re: git-stash: RFC: Adopt the default behavior to other commands
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 18, 2007, 00:31 UTC
- Message-ID
- <7vfxy04ze7.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <57F403E7-AF5B-40F1-AE9D-8EA036675A67@lrde.epita.fr>
Benoit Sigoure <tsuna@lrde.epita.fr> writes:
Show 15 quoted lines
> On Dec 18, 2007, at 12:00 AM, Junio C Hamano wrote: > >> Benoit Sigoure <tsuna@lrde.epita.fr> writes: >> >>> ... The current behavior of git stash is very >>> dangerous ... > ... >> This is a plain FUD, isn't it? The first Oops should not happen these >> days. > > *git pull in git* > *reads Documentation/RelNotes-1.5.4.txt* > > Blah. I didn't know follow the development over the past 3 weeks well > enough, sorry for the noise. I'm glad that this was improved.
But the original point by Sebastian hasn't been answered. He wanted to make the command list the stash without arguments.
This was discussed already in the early days of stash and there indeed was a suggestion to do so (I think I sided with that), but the users did not want it. IIRC, the argument went like: "when I say 'stash', that is because I want a quick and immediate way to stash, and I do not want a list. If I do not have to have a quick way, I would create a temporary commit on the current branch, or switch to a temporary branch and commit there."