diff options
| author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2025-12-26 14:23:29 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-12-28 14:02:06 +0900 |
| commit | 7a7717427ea7253003d221c47b462d9334429053 (patch) | |
| tree | 3e93a2f6cb7ed1d9e40498ed8c1b55970818f91d /contrib/persistent-https | |
| parent | 3e2836a742d8b2b2da25ca06e9d0ac3a539bd966 (diff) | |
| download | git-7a7717427ea7253003d221c47b462d9334429053.tar.gz git-7a7717427ea7253003d221c47b462d9334429053.zip | |
reference-transaction: use hook API instead of run-command
Convert the reference-transaction hook to the new hook API,
so it doesn't need to set up a struct child_process, call
find_hook or toggle the pipe signals.
The stdin feed callback is processing one ref update per
call. I haven't noticed any performance degradation due
to this, however we can batch as many we want in each call,
to ensure a good pipe throughtput (i.e. the child does not
wait after stdin).
Helped-by: Emily Shaffer <nasamuffin@google.com>
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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
