]> git.ipfire.org Git - thirdparty/git.git/commit - archive.c
archive: deduplicate verbose printing
authorRené Scharfe <l.s.r@web.de>
Tue, 11 Oct 2022 09:29:38 +0000 (11:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Oct 2022 15:35:10 +0000 (08:35 -0700)
commite3733b646dcec33947aa4658c0ed89a8a4b42c4b
treec42e83c32236639f000e5523f2bbb4f032947c96
parent359da658ae32d9a7e5e93ac173fc221352b62917
archive: deduplicate verbose printing

94bc671a1f (Add directory pattern matching to attributes, 2012-12-08)
moved the code for adding the trailing slash to names of directories and
submodules up.  This left both branches of the if statement starting
with the same conditional fprintf call.  Deduplicate it.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c