Re: [PATCH] git-add --interactive (wip)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 13, 2006, 10:42 UTC
- Message-ID
- <Pine.LNX.4.63.0612131137100.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v1wn4mk9i.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 12 Dec 2006, Junio C Hamano wrote:
Show 10 quoted lines
> Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes: > > > No. It currently is starting to get useful. With the ability > > to temporarily store away a dirty state of the working directory, > > it really could become very good. > > Hmm, a way to easily stash away local changes and restoring > would lead to a system where you can easily stash and unstash > multiple snapshots and switch between them, and such a model > sounds vaguely familiar...
Hmm, what might that be? :-)
A more simple approach than to buy into Python would be to introduce a very simple program, which exchanges work directory contents with index contents. So,
$ git revolve-stage $ [test the staged revision] $ [possibly fix a thing or two] $ git revolve-stage $ git commit
Opinions?
Ciao, Dscho