aboutsummaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-11 13:27:00 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-11 13:27:00 -0700
commit51b8aecabed1363f13c990320a50e1fb2aa3f696 (patch)
tree989a4699cd5d3e9a8a645ac67092e66ba62094d7 /unpack-trees.c
parenta6f1456380f114e26d68771d9316c57ab468b8fe (diff)
parent2841e8f81cb2820024804b9341577be1d0ce1240 (diff)
downloadgit-51b8aecabed1363f13c990320a50e1fb2aa3f696.tar.gz
git-51b8aecabed1363f13c990320a50e1fb2aa3f696.tar.xz
Merge branch 'ls/filter-process-delayed'
The filter-process interface learned to allow a process with long latency give a "delayed" response. * ls/filter-process-delayed: convert: add "status=delayed" to filter process protocol convert: refactor capabilities negotiation convert: move multiple file filter error handling to separate function convert: put the flags field before the flag itself for consistent style t0021: write "OUT <size>" only on success t0021: make debug log file name configurable t0021: keep filter log files on comparison
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index dd535bc84..862cfce66 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -380,6 +380,7 @@ static int check_updates(struct unpack_trees_options *o)
if (should_update_submodules() && o->update && !o->dry_run)
reload_gitmodules_file(index, &state);
+ enable_delayed_checkout(&state);
for (i = 0; i < index->cache_nr; i++) {
struct cache_entry *ce = index->cache[i];
@@ -394,6 +395,7 @@ static int check_updates(struct unpack_trees_options *o)
}
}
}
+ errs |= finish_delayed_checkout(&state);
stop_progress(&progress);
if (o->update)
git_attr_set_direction(GIT_ATTR_CHECKIN, NULL);