Re: [RFC] New command: 'git snapshot'.
- From
Jeff King <peff@peff.net>
- Date
- Feb 10, 2009, 23:00 UTC
- Message-ID
- <20090210230054.GD26954@coredump.intra.peff.net>
- In-Reply-To
- <38cfbb550902101240x1202c592ra7eb01d66e22da43@mail.gmail.com>
On Tue, Feb 10, 2009 at 06:40:34PM -0200, Fabio Augusto Dal Castel wrote:
Show 10 quoted lines
> > If stashes were per-branch, then it would probably > > be pretty easy to build this snapshot tool on top of it. > > Or the other way around <g>. > > Remember that 'stash' is actually TWO commands in one: > * Save current state > * Reset to HEAD > > My primary reason to use snapshots is to AVOID the second step.
Doesn't that argue for "git stash --no-reset" or similar instead of a separate command?
-Peff