Re: [PATCH] Add git-edit-index.perl
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 18, 2008, 13:48 UTC
- Message-ID
- <alpine.DEB.1.00.0812181446430.6952@intel-tinevez-2-302>
- In-Reply-To
- <20081218043734.GD20749@coredump.intra.peff.net>
Hi,
On Wed, 17 Dec 2008, Jeff King wrote:
Show 8 quoted lines
> On Wed, Dec 17, 2008 at 08:47:49PM +0000, Neil Roberts wrote: > > > This script can be used to edit a file in the index without affecting > > your working tree. It checkouts a copy of the file to a temporary file > > and runs an editor on it. If the editor completes successfully with a > > non-empty file then it updates the index with the new data. > > Hmm. Neat idea.
Yes, it is a neat idea. But I always keep in mind what Junio had to say about my "add -e" thing (that I use pretty frequently myself): you will put something into the index that has _never_ been tested.
Would we really want to bless such a workflow with "official" support?
Ciao, Dscho