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
This commit is contained in:
Junio C Hamano
2024-09-16 14:22:54 -07:00
13 changed files with 38 additions and 44 deletions

View File

@ -716,7 +716,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
BUG("malformed internal diff-index command line");
run_diff_index(&revs, 0);
if (!diff_result_code(&revs.diffopt))
if (!diff_result_code(&revs))
suffix = NULL;
else
suffix = dirty;