Re: Better handling of erroneous git stash save "somemessage" --keep-index

2013-02-26 Thread Junio C Hamano
Matthieu Moy writes: > I didn't even know that multi-words messages would be allowed this way. > That seems to me to be really weird indeed. Yeah, but it is understandable why it was done that way, considering taht the whole point of "stash" is to save away quickly for higher priority interrupt.

Re: Better handling of erroneous git stash save "somemessage" --keep-index

2013-02-26 Thread Gunnlaugur Thor Briem
On Tue, Feb 26, 2013 at 4:10 PM, Junio C Hamano wrote: > Then the user cannot say > > git stash save some message that consists of multiple words > > no? You may have a WIP to enhance the behaviour of one option and > you might want to say > > git stash save wip: tweak behaviour o

Re: Better handling of erroneous git stash save "somemessage" --keep-index

2013-02-26 Thread Matthieu Moy
Junio C Hamano writes: > Gunnlaugur Thor Briem writes: > >> the command: >> >> git stash save "some message" --keep-index >> >> stashes everything, including the index, and adds the "--keep-index" >> to the message. The manual labor of separating index hunks from hunks >> to stash is lost. This

Re: Better handling of erroneous git stash save "somemessage" --keep-index

2013-02-26 Thread Junio C Hamano
Gunnlaugur Thor Briem writes: > the command: > > git stash save "some message" --keep-index > > stashes everything, including the index, and adds the "--keep-index" > to the message. The manual labor of separating index hunks from hunks > to stash is lost. This is in version 1.8.1.3. > > This is