aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorEmily Shaffer <emilyshaffer@google.com>2025-10-17 17:15:36 +0300
committerJunio C Hamano <gitster@pobox.com>2025-10-17 14:32:52 -0700
commitbc0afba2f1c9c3dc8e806c6865c4669cf54dd9e0 (patch)
tree54698d7b79c3e291134850c8315f97f84c066002 /commit.c
parentrun-command: add stdin callback for parallelization (diff)
downloadgit-bc0afba2f1c9c3dc8e806c6865c4669cf54dd9e0.tar.gz
git-bc0afba2f1c9c3dc8e806c6865c4669cf54dd9e0.zip
hook: provide stdin via callback
This adds a callback mechanism for feeding stdin to hooks alongside the existing path_to_stdin (which slurps a file's content to stdin). The advantage of this new callback is that it can feed stdin without going through the FS layer. This helps when feeding large amount of data and uses the run-command parallel stdin callback introduced in the preceding commit. 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