Re: [PATCH] make commit --interactive lock index
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- May 29, 2008, 18:00 UTC
- Message-ID
- <483EEF57.6060304@gnu.org>
- In-Reply-To
- <20080529175157.GB5596@steel.home>
Show 6 quoted lines
>> The "if() die ()" thingie is already in builtin-commit.c, so we won't >> ever get a pathspec in the "add --interactive" case. If we do, >> something else has already been done incorrectly before -- not by the >> user but by the programmer. > > What could that be?
Nothing, but it documents to whoever reads the code what is the path that will be taken. Anyway if it happened it would be very bad.
Paolo