Re: bug report on update-index --assume-unchanged
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Dec 5, 2014, 22:18 UTC
- Message-ID
- <87fvctoi5g.fsf@igel.home>
- In-Reply-To
- <C082ED21306F4D82BCF6B03D9163836B@PhilipOakley>
"Philip Oakley" <philipoakley@iee.org> writes:
Show 6 quoted lines
> However the man page's statement 'When the "assume unchanged" bit is on, > Git stops checking the working tree files for possible modifications, so > you need to manually unset the bit to tell Git when you change the working > tree file.' can easily be understood the way Sergio has described. Git > stops checking so it won't notice any changes, which is a contract it > doesn't keep.
The contract is: when you change the working tree file, you must tell Git about it. Failure to do so is a breach of the contract.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."