diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2023-02-08 20:21:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-08 12:50:03 -0800 |
commit | 96af564d2781e76139474051c7651136d5c74652 (patch) | |
tree | b9531b047584c9f39b6e602595555496d6082278 /commit.c | |
parent | 917e0802493a39d77c4bdbdf9aaa5d8d69b7a7b0 (diff) |
sequencer: use the new hook API for the simpler "post-rewrite" call
Change the invocation of the "post-rewrite" hook added in
795160457db (sequencer (rebase -i): run the post-rewrite hook, if
needed, 2017-01-02) to use the new hook API.
This leaves the more complex "post-rewrite" invocation added in
a87a6f3c98e (commit: move post-rewrite code to libgit, 2017-11-17)
here in sequencer.c unconverted.
Here we can pass in a file's via the "in" file descriptor, in that
case we don't have a file, but will need to write_in_full() to an "in"
provide by the API. Support for that will be added to the hook API in
the future, but we're not there yet.
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions