Re: [PATCH] git-add --interactive (wip)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 13, 2006, 11:20 UTC
- Message-ID
- <Pine.LNX.4.63.0612131216350.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20061213105754.GC9484@spearce.org>
Hi,
On Wed, 13 Dec 2006, Shawn Pearce wrote:
Show 13 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > On Tue, 12 Dec 2006, Junio C Hamano wrote: > > > 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 > > Hmmm... last I heard Git doesn't depend on Python anymore, thanks > largely to you and Alex.
I referred to StGit, which is pure Python AFAIK.
> But it does stash and unstash snapshots of my working directory wicked > fast using these things called branches... :-)
The PEBCAK. I cannot hardly type the commands as fast as Git need to stash snapshots into branches.
So, git-revolve-stage would help me. Or maybe I create bash aliases
$ alias stash='stash_tree=$(git-write-tree)' $ alias unstash='git-read-tree $stash_tree'
Ciao, Dscho