]> git.99rst.org Git - git.git/commit
builtin/history: split out extended function to create commits
authorPatrick Steinhardt <redacted>
Mon, 2 Mar 2026 12:13:11 +0000 (13:13 +0100)
committerJunio C Hamano <redacted>
Tue, 3 Mar 2026 23:09:37 +0000 (15:09 -0800)
commit98f839425db94eb8d4c1f773e923ba1cff622d66
treeb7c2ac1294b010da3c77ed05cf3c7f900d0e0cab
parenta021e4f92cbacdb028b3efa49f619b076e72c9a6
builtin/history: split out extended function to create commits

In the next commit we're about to introduce a new command that splits up
a commit into two. Most of the logic will be shared with rewording
commits, except that we also need to have control over the parents and
the old/new trees.

Extract a new function `commit_tree_with_edited_message_ext()` to
prepare for this commit.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/history.c
git clone https://git.99rst.org/PROJECT