Re: git stash filename - stashing single files.
- From
Paul Smith <paul@mad-scientist.net>
- Date
- Dec 14, 2016, 15:00 UTC
- Message-ID
- <1481727610.4552.8.camel@mad-scientist.net>
- In-Reply-To
- <20161214144444.k4v64accedl6xvho@sigill.intra.peff.net>
On Wed, 2016-12-14 at 09:44 -0500, Jeff King wrote:
> Personally, I think this is a pretty terrible interface. Besides the > fact that I have never written a stash message in all my years of using > git, it's totally inconsistent with the rest of git (which would use > "-m" for the message, and treat arguments as pathspecs).
I agree that this is a terrible (and inconsistent) interface and I would love to see it changed.
I do use messages on stashes all the time (because I can never remember their context a week later without a hint--just looking at the diff is not enough for me) but I would welcome this change. Definitely the first step would be introducing the "-m" option so people and tools could begin the switch to using it.