Re: An alternate model for preparing partial commits
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 28, 2008, 14:51 UTC
- Message-ID
- <alpine.DEB.1.00.0806281549060.9925@racer>
- In-Reply-To
- <20080628050317.GE9451@sigill.intra.peff.net>
Hi.
On Sat, 28 Jun 2008, Jeff King wrote:
> Here's a somewhat hackish implementation of "git stash -i" that just > relies on "add -i":
I like it.
> +ADD_OPTIONS="-u" > +case "$1" in > + -i|-p) ADD_OPTIONS=$1; shift > +esac
I'll squash in "|-e" here.
Note that some time ago, I was working on "git stash apply -i", which I never came around to finish. Yesterday, I was briefly considering working on it, but I have other things to tend to now.
Ciao, Dscho