Files
git/builtin
Johannes Schindelin 19b695841e squash! add: use preload-index and fscache for performance
We need to keep the call to read_cache() before parsing the
pathspecs (and hence cannot use the pathspecs to limit any preload)
because parse_pathspec() is using the index to determine whether a
pathspec is, in fact, in a submodule. If we would not read the index
first, parse_pathspec() would not error out on a path that is inside
a submodule, and t7400-submodule-basic.sh would fail with

	not ok 47 - do not add files from a submodule

We still want the nice preload performance boost, though, so we simply
call read_cache_preload(&pathspecs) after parsing the pathspecs.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-11-23 22:05:00 +01:00
..
2016-11-22 13:55:20 -08:00
2016-09-21 15:15:24 -07:00
2016-09-29 15:42:18 -07:00
2016-10-03 13:30:33 -07:00