author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 6 May 2005 23:48:43 +0000 (16:48 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 6 May 2005 23:48:43 +0000 (16:48 -0700) | ||
commit | ee267527aa80807f37caf1d00bcf1b5263945adb | |
tree | 4176958cd88ae4187b85f1d6bc4b2dd40cd63f28 | tree | snapshot |
parent | a02ebff6127c5fc981668fb570f0a80f2b7657ca | commit | diff |
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.
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 | diff | blob | history | |
read-cache.c | diff | blob | history | |
update-cache.c | diff | blob | history |