]> git.ipfire.org Git - thirdparty/git.git/commit
remove duplicate includes
authorRené Scharfe <l.s.r@web.de>
Sun, 8 Feb 2026 12:32:22 +0000 (13:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Feb 2026 23:03:06 +0000 (15:03 -0800)
commit10c68d2577b2c4eb4ca9b259a38a67444068e2d9
tree81f4624963388c0035c64de5b9678a695e140218
parent67ad42147a7acc2af6074753ebd03d904476118f
remove duplicate includes

The following command reports that some header files are included twice:

   $ git grep '#include' '*.c' | sort | uniq -cd

Remove the second #include line in each case, as it has no effect.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
builtin/log.c
builtin/pack-objects.c
commit.c
object-file-convert.c
protocol-caps.c
setup.c