mbox series

[0/5] Remove. duplicate include directives

Message ID 20220313195536.224075-1-gitter.spiros@gmail.com (mailing list archive)
Headers show
Series Remove. duplicate include directives | expand

Message

Elia Pinto March 13, 2022, 7:55 p.m. UTC
This series of patches does not solve any particular problems but
only eliminates unnecessary duplicate include directives
from git sources

Elia Pinto (5):
  attr.c: delete duplicate include
  builtin/gc.c: delete duplicate include
  builtin/sparse-checkout.c: delete duplicate include
  builtin/stash.c: delete duplicate include
  t/helper/test-run-command.c: delete duplicate include

 attr.c                      | 1 -
 builtin/gc.c                | 1 -
 builtin/sparse-checkout.c   | 1 -
 builtin/stash.c             | 1 -
 t/helper/test-run-command.c | 1 -
 5 files changed, 5 deletions(-)

Comments

Junio C Hamano March 13, 2022, 10:22 p.m. UTC | #1
Elia Pinto <gitter.spiros@gmail.com> writes:

> This series of patches does not solve any particular problems but
> only eliminates unnecessary duplicate include directives
> from git sources
>
> Elia Pinto (5):
>   attr.c: delete duplicate include
>   builtin/gc.c: delete duplicate include
>   builtin/sparse-checkout.c: delete duplicate include
>   builtin/stash.c: delete duplicate include
>   t/helper/test-run-command.c: delete duplicate include

Thanks.

It matches the output from the pipeline:

$ git grep '^#include' \*.c |
  sort | uniq -c | sort -n | sed -e '/^ *1 /d'