aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-02-09 12:09:09 -0800
committerJunio C Hamano <gitster@pobox.com>2026-02-09 12:09:09 -0800
commit7bf3785d0973d229fa21a76122c7e4735a2b1ffb (patch)
tree9ee2a41b83f2f18bf0cb63feec23320eda20cc5e /git.c
parent3e0db84c88c57e70ac8be8c196dfa92c5d656fbc (diff)
parentd205234cb05a5e330c0f7f5b3ea764533a74d69e (diff)
downloadgit-7bf3785d0973d229fa21a76122c7e4735a2b1ffb.tar.xz
Merge branch 'ps/history'
"git history" history rewriting UI. * ps/history: builtin/history: implement "reword" subcommand builtin: add new "history" command wt-status: provide function to expose status for trees replay: support updating detached HEAD replay: support empty commit ranges replay: small set of cleanups builtin/replay: move core logic into "libgit.a" builtin/replay: extract core logic to replay revisions
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 c5fad56813..744cb6527e 100644
--- a/git.c
+++ b/git.c
@@ -586,6 +586,7 @@ static struct cmd_struct commands[] = {
{ "grep", cmd_grep, RUN_SETUP_GENTLY },
{ "hash-object", cmd_hash_object },
{ "help", cmd_help },
+ { "history", cmd_history, RUN_SETUP },
{ "hook", cmd_hook, RUN_SETUP },
{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY | NO_PARSEOPT },
{ "init", cmd_init_db },