Re: [PATCH] git-mv: Keep moved index entries inact
- From
Petr Baudis <pasky@suse.cz>
- Date
- Jul 21, 2008, 07:18 UTC
- Message-ID
- <20080721071818.GL10151@machine.or.cz>
- In-Reply-To
- <alpine.DEB.1.00.0807210319410.3305@eeepc-johanness>
Hi,
On Mon, Jul 21, 2008 at 03:20:46AM +0200, Johannes Schindelin wrote:
Show 5 quoted lines
> On Mon, 21 Jul 2008, Petr Baudis wrote: > > I want to make sure the whole index entry is intact, not just the sha1. > > "rev-parse :dirty" will have to read the index to get at the object name > of "dirty". So there you have your index validation for you.
it will test if the entry stays _valid_, but not whether it stays the _same_.
Petr "Pasky" Baudis