diff options
author | Jan Mazur <mzr@fb.com> | 2025-06-04 17:11:21 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-04 13:19:47 -0700 |
commit | efb61591ee482fd9ec0ebabffef1bed5b71fdfab (patch) | |
tree | 08d38bba10e4453560709cde20109333228ed624 /commit.c | |
parent | 54a3711a9dd968a04249beef157393d64b579d64 (diff) |
bundle-uri: send debug output to given FILE * stream
d796cedb (bundle-uri: unit test "key=value" parsing, 2022-10-12)
introduced the print_bundle_list() function, which takes a "FILE
*fp" to write the output to. Later with c93c3d2f (bundle-uri:
parse bundle.heuristic=creationToken, 2023-01-31) the function
started showing additional information, which is always written
to the standard output stream.
It does not look like a deliberate decision to do so, and it
does not hurt, as all callers of the function passes stdout to
it.
We could change the function not to take fp and always write to
the standard output to simplify, but let's use the FILE *fp
provided by the caller consistently to write out output.
Signed-off-by: Jan Mazur <mzr@meta.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions