aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorEmily Shaffer <emilyshaffer@google.com>2025-10-17 17:15:37 +0300
committerJunio C Hamano <gitster@pobox.com>2025-10-17 14:32:52 -0700
commit877b7bb2ae929113ab42bb094e61a05e4e6cc593 (patch)
tree4f0928659fb856abec14c273cc8e8a5686a78b4a /commit.c
parenthook: provide stdin via callback (diff)
downloadgit-877b7bb2ae929113ab42bb094e61a05e4e6cc593.tar.gz
git-877b7bb2ae929113ab42bb094e61a05e4e6cc593.zip
hook: convert 'post-rewrite' hook in sequencer.c to hook API
Replace the custom run-command calls used by post-rewrite with the newer and simpler hook_run_opt(), which does not need to create a custom 'struct child_process' or call find_hook(). Another benefit of using the hook API is that hook_run_opt() handles the SIGPIPE toggle logic. Signed-off-by: Emily Shaffer <emilyshaffer@google.com> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions