aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-09-16 14:22:54 -0700
committerJunio C Hamano <gitster@pobox.com>2024-09-16 14:22:55 -0700
commitbe8ca2848a9e73f6ddc31ebce2ddc3c367d4f0cb (patch)
tree517a2dce7d35fd6a2b98ea2f6114563cc4e0cfb7 /builtin/submodule--helper.c
parentMerge branch 'ah/apply-3way-ours' (diff)
parentremerge-diff: clean up temporary objdir at a central place (diff)
downloadgit-be8ca2848a9e73f6ddc31ebce2ddc3c367d4f0cb.tar.gz
git-be8ca2848a9e73f6ddc31ebce2ddc3c367d4f0cb.zip
Merge branch 'jc/range-diff-lazy-setup'
Code clean-up. * jc/range-diff-lazy-setup: remerge-diff: clean up temporary objdir at a central place remerge-diff: lazily prepare temporary objdir on demand
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index a46ffd49b3..3e0b6c45c0 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -672,7 +672,7 @@ static void status_submodule(const char *path, const struct object_id *ce_oid,
setup_revisions(diff_files_args.nr, diff_files_args.v, &rev, &opt);
run_diff_files(&rev, 0);
- if (!diff_result_code(&rev.diffopt)) {
+ if (!diff_result_code(&rev)) {
print_status(flags, ' ', path, ce_oid,
displaypath);
} else if (!(flags & OPT_CACHED)) {