entry.c: submodule recursing: respect force flag correctly
commitcd279e2e1b4f41f0272d90abb2ba5a06c544b3da
authorStefan Beller <sbeller@google.com>
Tue, 18 Apr 2017 21:37:22 +0000 (18 14:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Apr 2017 04:18:29 +0000 (18 21:18 -0700)
treef9c71e95ab385d37c392ebc61e04128b5985ea86
parent584f8975d2d9530a34bd0b936ae774f82fe30fed
entry.c: submodule recursing: respect force flag correctly

In case of a non-forced worktree update, the submodule movement is tested
in a dry run first, such that it doesn't matter if the actual update is
done via the force flag. However for correctness, we want to give the
flag as specified by the user. All callers have been inspected and updated
if needed.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c
unpack-trees.c