From: Petr Lautrbach <lautrbach@redhat.com>
To: Kalevi Kolttonen <kalevi@kolttonen.fi>, selinux@vger.kernel.org
Cc: Kalevi Kolttonen <kalevi@kolttonen.fi>
Subject: Re: [PATCH] userspace: Make git ignore files '.vimrc' and 'tags'
Date: Tue, 20 May 2025 15:37:19 +0200 [thread overview]
Message-ID: <878qmrcsj4.fsf@redhat.com> (raw)
In-Reply-To: <20250515091833.14378-1-kalevi@kolttonen.fi>
Kalevi Kolttonen <kalevi@kolttonen.fi> writes:
> Signed-off-by: Kalevi Kolttonen <kalevi@kolttonen.fi>
> ---
> .gitignore | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index 6ff61265..34aa2b48 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -20,6 +20,8 @@
> *.pyc
> *.pyo
> cscope.*
> +tags
makes sense
> +.vimrc
according to https://vimhelp.org/starting.txt.html#vimrc the current
directory is searched only if the 'exrc' option is on and based on
https://vimhelp.org/options.txt.html#%27exrc%27 this is not something
one should do
so I'd rather not to hide it for all. you can use your own
~/.config/git/ignore, see gitignore(5) man page
> .#*
> \#*
> .*.swp
> --
> 2.49.0
prev parent reply other threads:[~2025-05-20 13:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-15 9:18 [PATCH] userspace: Make git ignore files '.vimrc' and 'tags' Kalevi Kolttonen
2025-05-20 13:37 ` Petr Lautrbach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878qmrcsj4.fsf@redhat.com \
--to=lautrbach@redhat.com \
--cc=kalevi@kolttonen.fi \
--cc=selinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).