Commit 5e5cc0e
receive-pack: convert update hooks to new API
Use the new hook sideband API introduced in the previous commit.
The hook API avoids creating a custom struct child_process and other
internal hook plumbing (e.g. calling find_hook()) and prepares for
the specification of hooks via configs or running parallel hooks.
Execution is still sequential through the current hook.[ch] via the
run_proces_parallel_opts.processes=1 arg.
Signed-off-by: Emily Shaffer <[email protected]>
Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]>
Signed-off-by: Adrian Ratiu <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent fedcd93 commit 5e5cc0e
1 file changed
+21
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
943 | 943 | | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
950 | 947 | | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
955 | 951 | | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
960 | 957 | | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | 958 | | |
965 | | - | |
966 | | - | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
967 | 962 | | |
968 | 963 | | |
969 | 964 | | |
| |||
1640 | 1635 | | |
1641 | 1636 | | |
1642 | 1637 | | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
| 1638 | + | |
1649 | 1639 | | |
1650 | 1640 | | |
1651 | 1641 | | |
1652 | 1642 | | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1643 | + | |
1656 | 1644 | | |
1657 | | - | |
| 1645 | + | |
1658 | 1646 | | |
1659 | 1647 | | |
1660 | | - | |
1661 | | - | |
1662 | | - | |
1663 | | - | |
| 1648 | + | |
| 1649 | + | |
1664 | 1650 | | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
| 1651 | + | |
1670 | 1652 | | |
1671 | 1653 | | |
1672 | 1654 | | |
| |||
0 commit comments