Files
git/builtin
Johannes Schindelin 1a4ee4d5d8 fixup! checkout.c: enable fscache for checkout_entry
The recently introduced speedup of `git checkout` sadly introduced a
regression: after writing a file, the cached stat data is obviously
incorrect, yet we still used it!

This patch simply reverts the original speedup (as opposed to try to
hotfix it as https://github.com/git-for-windows/git/pull/1443 tries to
do), and marks it as a fixup commit so that the next merging-rebase will
drop the patch.

We will most likely want to speed up this code path, though, but may
find a better way, e.g. by invalidating the cached data cleverly. (This
will be a *little* tricky, though, as readdir() uses the data, and we
must ensure that we do not pull it under readdir()'s rag when
invalidating it, and we also must avoid re-caching for every written
file, as that would be *even* slower than fscache=false.)

This fixes https://github.com/git-for-windows/git/issues/1438 and
https://github.com/git-for-windows/git/issues/1442

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2018-01-22 14:28:01 +01:00
..
2017-12-27 11:16:25 -08:00
2018-01-22 13:00:10 +01:00
2018-01-22 13:06:49 +01:00
2017-11-18 12:31:29 +09:00
2017-12-28 14:08:50 -08:00
2018-01-22 13:00:00 +01:00
2017-11-21 14:07:50 +09:00
2017-12-27 11:16:29 -08:00
2017-12-13 13:28:54 -08:00
2017-12-06 09:23:44 -08:00
2018-01-22 13:00:00 +01:00
2018-01-22 14:24:42 +01:00
2017-12-27 11:16:29 -08:00
2017-11-06 14:24:27 +09:00
2017-11-21 14:07:50 +09:00