summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-04-27 07:53:52 +0200
committerJunio C Hamano <gitster@pobox.com>2026-04-27 22:20:57 +0900
commit88191ea02330627a85664909026fb6953e0d8af8 (patch)
tree1c61a1db58561f831b51916a5673b2b7e7221ec7 /contrib/persistent-https
parent0cf4ad7cf555ac2ed6556a3169d30b2eabb68d41 (diff)
builtin/history: generalize function to commit trees
The function `commit_tree_with_edited_message_ext()` can be used to commit a tree with a specific list of parents with an edited commit message. This function is useful outside of editing the commit message though, as it also performs the plumbing to extract the original commit message and strip some headers from it. Refactor the function to receive a flags field that allows the caller to control whether or not the commit message should be edited, or whether it should be retained as-is. This will be used in a subsequent commit. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions