[PATCH] .gitignore: add ctags output files

Raffaello D. Di Napoli rafdev at dinapo.li
Tue Sep 25 18:34:21 UTC 2018


On 24/09/2018 15:00, Martin Kaiser wrote:
> From: Martin Kaiser <martin at kaiser.cx>
>
> Exuberant ctags creates an output file called "tags" by default or
> "TAGS" when it's run in emacs mode. Add those two files to .gitignore so
> they won't be removed by git clean -df.
>
> Signed-off-by: Martin Kaiser <martin at kaiser.cx>
> ---
>   .gitignore | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index be1d461..c03c2e8 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -50,3 +50,9 @@ cscope.files
>   cscope.in.out
>   cscope.out
>   cscope.po.out
> +
> +#
> +# ctags output
> +#
> +tags
> +TAGS

Can’t you just add whatever files you want ignored to .git/info/exclude ?

--

Raf



More information about the busybox mailing list