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; 3+ 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] 3+ messages in thread

* Re: [PATCH] git: show hidden tracked files
  2024-10-17 15:15 [PATCH] git: show hidden tracked files Thomas Monjalon
@ 2024-10-17 16:26 ` Stephen Hemminger
  2024-11-11 11:06   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2024-10-17 16:26 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

On Thu, 17 Oct 2024 17:15:03 +0200
Thomas Monjalon <thomas@monjalon.net> wrote:

> 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>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

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

* Re: [PATCH] git: show hidden tracked files
  2024-10-17 16:26 ` Stephen Hemminger
@ 2024-11-11 11:06   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2024-11-11 11:06 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

17/10/2024 18:26, Stephen Hemminger:
> On Thu, 17 Oct 2024 17:15:03 +0200
> Thomas Monjalon <thomas@monjalon.net> wrote:
> 
> > 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>
> Acked-by: Stephen Hemminger <stephen@networkplumber.org>

Applied




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

end of thread, other threads:[~2024-11-11 11:06 UTC | newest]

Thread overview: 3+ 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
2024-11-11 11:06   ` Thomas Monjalon

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