Re: [PATCH 3/3] git-add --intent-to-add (-N)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 22, 2008, 04:59 UTC
- Message-ID
- <7vr68hejca.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LNX.1.00.0808220023170.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> ... these are actually distinguishable, IIRC, by whether the > mode bits are set or not, but current code doesn't check that.
IIRC, mode bits all zero means something different, so I do not think that would fly. If we really wanted to do this "intent-to-add" properly, we probably should give one of the flag bits in the in-core index structure. Unlike on-disk flag bits, they are not scarce resources anymore these days.