* [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
* [LTP] [PATCH V2] gitignore: Ignore swap files
2020-01-22 5:12 [LTP] [PATCH] gitignore: Ignore all files starting with dot (.) Viresh Kumar
@ 2020-01-22 8:48 ` Viresh Kumar
2020-01-23 10:28 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2020-01-22 8:48 UTC (permalink / raw)
To: ltp
Update .gitignore to ignore .swp files.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
V1->V2:
- Replace .* with .*.swp, as .* also ignored all .ignore files as well.
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 903d616b11c4..86d8190a3a65 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
CVS
+.*.swp
*~
*.o
*.o.d
--
2.21.0.rc0.269.g1a574e7a288b
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [LTP] [PATCH V2] gitignore: Ignore swap files
2020-01-22 8:48 ` [LTP] [PATCH V2] gitignore: Ignore swap files Viresh Kumar
@ 2020-01-23 10:28 ` Cyril Hrubis
0 siblings, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2020-01-23 10:28 UTC (permalink / raw)
To: ltp
Hi!
Pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [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