selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] userspace: Make git ignore files '.vimrc' and 'tags'
@ 2025-05-15  9:18 Kalevi Kolttonen
  2025-05-20 13:37 ` Petr Lautrbach
  0 siblings, 1 reply; 2+ messages in thread
From: Kalevi Kolttonen @ 2025-05-15  9:18 UTC (permalink / raw)
  To: selinux; +Cc: Kalevi Kolttonen

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
+.vimrc
 .#*
 \#*
 .*.swp
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] userspace: Make git ignore files '.vimrc' and 'tags'
  2025-05-15  9:18 [PATCH] userspace: Make git ignore files '.vimrc' and 'tags' Kalevi Kolttonen
@ 2025-05-20 13:37 ` Petr Lautrbach
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Lautrbach @ 2025-05-20 13:37 UTC (permalink / raw)
  To: Kalevi Kolttonen, selinux; +Cc: Kalevi Kolttonen

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-20 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15  9:18 [PATCH] userspace: Make git ignore files '.vimrc' and 'tags' Kalevi Kolttonen
2025-05-20 13:37 ` Petr Lautrbach

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).