public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] gitignore: Ignore all files starting with dot (.)
@ 2020-01-22  5:12 Viresh Kumar
  2020-01-22  8:48 ` [LTP] [PATCH V2] gitignore: Ignore swap files Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2020-01-22  5:12 UTC (permalink / raw)
  To: ltp

The purpose behind this modification was to start ignoring the .*.swp
files, but then I looked at how the Linux kernel handles this and so
this patch ignores anything that starts with a dot (.).

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 903d616b11c4..0a14ebcbeefc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 CVS
+.*
 *~
 *.o
 *.o.d
-- 
2.21.0.rc0.269.g1a574e7a288b


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

end of thread, other threads:[~2020-01-23 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22  5:12 [LTP] [PATCH] gitignore: Ignore all files starting with dot (.) Viresh Kumar
2020-01-22  8:48 ` [LTP] [PATCH V2] gitignore: Ignore swap files Viresh Kumar
2020-01-23 10:28   ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox