Re: [PATCH] git-add: introduce --edit (to edit the diff vs. the index)
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Apr 10, 2009, 18:59 UTC
- Message-ID
- <fabb9a1e0904101159w7ab19247k81f4b67b8a91198f@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0904102009440.10279@pacific.mpi-cbg.de>
Heya,
On Fri, Apr 10, 2009 at 20:10, Johannes Schindelin <Johannes.Schindelin@gmx.de> > As others have mentioned, there _is_ a reason we have a working directory.
> Please understand this as a "I do not like the idea of editing the index > directly at all".
I do not intend use it as a replacement of the working directory, but mostly as a way to split up patches easier. Mainly to _remove_ lines that I staged that I would like to be in a different patch in the series (possibly after doing 'git reset --soft'). I always go through my a longer patch series multiple times until I am satisfied with the result, this addition would make that a lot easier.
-- Cheers, Sverre Rabbelier