Files
git/builtin
Patrick Steinhardt d6606e02aa fetch: centralize printing of reference updates
In order to print updated references during a fetch, the two different
call sites that do this will first call `format_display()` followed by a
call to `fputs()`. This is needlessly roundabout now that we have the
`display_state` structure that encapsulates all of the printing logic
for references.

Move displaying the reference updates into `format_display()` and rename
it to `display_ref_update()` to better match its new purpose, which
finalizes the conversion to make both the formatting and printing logic
of reference updates self-contained. This will make it easier to add new
output formats and printing to a different file descriptor than stderr.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-03-20 11:02:43 -07:00
..
2023-02-22 14:55:45 -08:00
2022-04-06 09:42:14 -07:00
2023-01-13 14:17:14 -08:00
2023-01-05 15:07:22 +09:00
2023-02-22 14:55:45 -08:00
2023-02-22 14:55:45 -08:00
2021-10-28 09:57:09 -07:00
2022-12-14 15:55:46 +09:00
2022-11-23 11:22:24 +09:00
2023-02-22 14:55:45 -08:00
2022-11-16 14:57:32 -05:00
2023-02-15 17:11:53 -08:00
2023-02-22 14:55:45 -08:00
2023-02-22 14:55:45 -08:00
2022-12-18 11:48:26 +09:00