Re: [PATCH v2] git-stash.txt: Add example "Using stash selectively"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 7, 2010, 16:11 UTC
- Message-ID
- <7v8w7vhetb.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <87pr194e3v.fsf_-_@jondo.cante.net>
Jari Aalto <jari.aalto@cante.net> writes:
Show 8 quoted lines
>> While the above is not _wrong_ per-se, it was somewhat hard to understand >> for me without a description on _why_ you might want to do this. It >> didn't help that "put only selected files" really meant "get rid of >> selected _changes_ from the working tree and the index temporarily". > > This demonstrates the difference between the end-user and developer. The > end-used think in term of tangible objects: "I have files, I need to > stash some of them".
Not really. You just demonstrated that you ignored "partial add". It is not so unusual for a user to need to express "I have a file, and I have two kinds of changes to it. The ones that I need now and the ones I need to postpone".