From: Johannes Schindelin Date: Wed, 13 Dec 2006 10:42:41 GMT Subject: Re: [PATCH] git-add --interactive (wip) Message-ID: In-Reply-To: <7v1wn4mk9i.fsf@assigned-by-dhcp.cox.net> Hi, On Tue, 12 Dec 2006, Junio C Hamano wrote: > Josef Weidendorfer 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