Re: [PATCH] Disconnect stash from its base commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 2, 2008, 21:04 UTC
- Message-ID
- <7vprpw80bw.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080702195401.GA17214@toroid.org>
Abhijit Menon-Sen <ams@toroid.org> writes:
Show 10 quoted lines
> At 2008-07-02 12:01:35 -0700, gitster@pobox.com wrote: >> >> But that imaginary "stash branch" command would always give you >> the exact state you were in and creates a clean fork to finish >> what you were doing, and continue. > > Nice idea. Something as simple as the appended diff? > > I reversed the stash/branch arguments so that one need specify only the > branch name. Playing with it a little, it feels very useful.
I'd further suggest to delete the stash automatically when you create a new branch out of it.