summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-08 14:54:35 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-08 14:54:35 -0700
commit95a8428323a573963c93ece8f875dd3cd25a1a11 (patch)
tree5cd7765c7286b29e99700f02348d758b40d33e11 /git.c
parent576e0b6eb34f8989f07ae77db10baf1c75125c47 (diff)
parent8d9a7cdfda4c883e83d6ea7b57d0a1d989a7d439 (diff)
Merge branch 'tc/last-modified'
A new command "git last-modified" has been added to show the closest ancestor commit that touched each path. * tc/last-modified: last-modified: use Bloom filters when available t/perf: add last-modified perf script last-modified: new subcommand to show when files were last modified
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 5dc210b7b4..d020eef021 100644
--- a/git.c
+++ b/git.c
@@ -565,6 +565,7 @@ static struct cmd_struct commands[] = {
{ "init", cmd_init_db },
{ "init-db", cmd_init_db },
{ "interpret-trailers", cmd_interpret_trailers, RUN_SETUP_GENTLY },
+ { "last-modified", cmd_last_modified, RUN_SETUP },
{ "log", cmd_log, RUN_SETUP },
{ "ls-files", cmd_ls_files, RUN_SETUP },
{ "ls-remote", cmd_ls_remote, RUN_SETUP_GENTLY },