gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 11/14] gitignore: don't ignore .scm files.


From: Adrien 'neox' Bourmault
Subject: Re: [PATCH v1 11/14] gitignore: don't ignore .scm files.
Date: Mon, 29 Apr 2024 16:44:59 +0200
User-agent: Evolution 3.48.4

For some reason the regex being removed ends up ignoring .scm files:
if we run git add to some files in ./resources/guix/*/*.scm, we end up
with:
    The following paths are ignored by one of your .gitignore files:
    [...]
    hint: Use -f if you really want to add them.
    hint: Turn this message off by running
    hint: "git config advice.addIgnoredFile false"
but if we remove '*.s[a-w]?' from .gitignore, git add works fine
without any warning.

As this gitignore entry was added by the very first commit of this
repository (commit 89517ed6b9e89321e1387ed8f534d7f080ffdf57
"libreboot!"), we don't really know why it was added (what type of
files it's supposed to match again).

But given that we plan to use .scm files extensively, it's probably
better to remove that ignore rule and find out later the reason why it
was added in the first place, and adjust the rules accordingly, than
risking to forget some important scheme files.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
---
 .gitignore | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index aa4f4c7..94e1e77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
 *.date
 *.hash
 *.html
-*.s[a-w]?
 *.sha1sum
 *.vim
 *feed.xml
--
2.41.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]