Re: [PATCH] Make "git stash" configurable
- From
Steven Grimm <koreth@midwinter.com>
- Date
- Dec 21, 2007, 18:26 UTC
- Message-ID
- <74FF0697-8157-4308-8BA4-A1C7D0C7D260@midwinter.com>
- In-Reply-To
- <7v3atw7x33.fsf@gitster.siamese.dyndns.org>
On Dec 21, 2007, at 9:54 AM, Junio C Hamano wrote:
Show 7 quoted lines
> Matthieu Moy <Matthieu.Moy@imag.fr> writes: >> It also makes portable scripts harder. It's easy to write a script >> that works only if you have the option set ... > > In general I'd agree but in this particular case I do not think > that applies. Scripts can always say what they want, either > "stash save" or "stash list".
I bet Matthieu meant that it's easy for someone who runs bare "git stash" all the time to forget that there's an option to make that command do something different, and to thus code up a local script that runs the command as they're used to running it. Such a script will work just fine for them but it'll break as soon as they give it to someone else who has the option set differently.
-Steve