]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
Revert bogus optimization that avoids index file writes
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 23:48:43 +0000 (16:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 23:48:43 +0000 (16:48 -0700)
commitee267527aa80807f37caf1d00bcf1b5263945adb
tree4176958cd88ae4187b85f1d6bc4b2dd40cd63f28
parenta02ebff6127c5fc981668fb570f0a80f2b7657ca
Revert bogus optimization that avoids index file writes

It didn't properly mark all cache updates as being dirty, and
causes merge errors due to that. In particular, it didn't notice
when a file was force-removed.

Besides, it was ugly as hell. I've put in place a slightly cleaner
version, but I've not enabled the optimization because I don't
want to be burned again.
cache.h
read-cache.c
update-cache.c