Commit 96af564
sequencer: use the new hook API for the simpler "post-rewrite" call
Change the invocation of the "post-rewrite" hook added in
7951604 (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
a87a6f3 (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 <[email protected]>
Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 917e080 commit 96af564
1 file changed
+4
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4834 | 4834 | | |
4835 | 4835 | | |
4836 | 4836 | | |
4837 | | - | |
4838 | | - | |
| 4837 | + | |
4839 | 4838 | | |
4840 | 4839 | | |
4841 | 4840 | | |
| |||
4845 | 4844 | | |
4846 | 4845 | | |
4847 | 4846 | | |
4848 | | - | |
4849 | | - | |
4850 | | - | |
4851 | | - | |
4852 | | - | |
4853 | | - | |
4854 | | - | |
4855 | | - | |
4856 | | - | |
4857 | | - | |
4858 | | - | |
4859 | | - | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
4860 | 4850 | | |
4861 | 4851 | | |
4862 | 4852 | | |
| |||
0 commit comments