DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] git: show hidden tracked files
@ 2024-10-17 15:15 Thomas Monjalon
  2024-10-17 16:26 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Monjalon @ 2024-10-17 15:15 UTC (permalink / raw)
  To: dev

The hidden files are not considered because of the first rule in
.gitignore file.

In order to see changes in the hidden tracked files,
they are added in .gitignore as explicit include rules.

The derivatives of the first level files are also shown.
Example: .mailmap.rej

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 .gitignore | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index 01a47a7606..903fe9bc64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,10 @@
 # ignore hidden files
 .*
+# except the tracked ones and derivatives
+!.ci/
+!.github/
+!.gitignore*
+!.mailmap*
 
 # ignore generated documentation tables
 doc/guides/nics/overview_table.txt
-- 
2.46.0


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

end of thread, other threads:[~2024-10-17 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-17 15:15 [PATCH] git: show hidden tracked files Thomas Monjalon
2024-10-17 16:26 ` Stephen Hemminger

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