diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-09-29 11:40:35 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-29 11:40:35 -0700 |
| commit | d5518d52b23dc4d7d001b0725c5faab4063a3598 (patch) | |
| tree | 485b91585decfe1c109688dc55066220351c7209 /builtin/last-modified.c | |
| parent | 96ed0a89066c2ea57c18b6586b2cab2edc333515 (diff) | |
| parent | e6c06e87a255995d2e7ead2b8e49e46e29a724fb (diff) | |
Merge branch 'tc/last-modified-recursive-fix'
"git last-modified" operating in non-recursive mode used to trigger
a BUG(), which has been corrected.
* tc/last-modified-recursive-fix:
last-modified: fix bug when some paths remain unhandled
Diffstat (limited to 'builtin/last-modified.c')
| -rw-r--r-- | builtin/last-modified.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/last-modified.c b/builtin/last-modified.c index 886ba12cb5..ae8b36a2c3 100644 --- a/builtin/last-modified.c +++ b/builtin/last-modified.c @@ -265,6 +265,7 @@ static int last_modified_init(struct last_modified *lm, struct repository *r, lm->rev.boundary = 1; lm->rev.no_commit_id = 1; lm->rev.diff = 1; + lm->rev.diffopt.flags.no_recursive_diff_tree_combined = 1; lm->rev.diffopt.flags.recursive = lm->recursive; lm->rev.diffopt.flags.tree_in_recursive = lm->show_trees; |
