]> git.ipfire.org Git - thirdparty/git.git/commit - run-command.h
run_processes_parallel: rename parameters for the callbacks
authorStefan Beller <sbeller@google.com>
Tue, 1 Mar 2016 02:07:16 +0000 (18:07 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Mar 2016 19:57:19 +0000 (11:57 -0800)
commitaa71049485c7b789fb9121c7fc2bece431bc589b
treef4239d8d4837cb6ae33083921709129693840340
parent2dac9b5637abe580e8b8ea36e00dbbf28ec99af6
run_processes_parallel: rename parameters for the callbacks

The refs code has a similar pattern of passing around 'struct strbuf *err',
which is strictly used for error reporting. This is not the case here,
as the strbuf is used to accumulate all the output (whether it is error
or not) for the user. Rename it to 'out'.

Suggested-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c
run-command.h