gitignore: Add files starting with .
PATCH 1/1 gitignore: Add files starting with .
I cant be the only one that have added .tags by mistake.
--- .gitignore | 1 + 1 file changed, 1 insertion(+)
.gitignore +1 -0
@@ -81,6 +81,7 @@ core *.swo *.swp *.dirstamp +.* cscope.* TAGS build-aux/
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Michel Thierry
I cant be the only one that have added .tags by mistake.
Cc Marius Vlad <[email protected]>Cc Petri Latvala <[email protected]>Signed-off-by Michel Thierry <[email protected]>
<SNIP>
.gitignore core · line 84
Quoted 6 lines
+++ b/.gitignore
.gitignore +1
-0@@ -81,6 +81,7 @@ core *.swo *.swp *.dirstamp +.*
You need to at least have "!.gitignore" to avoid ignoring further changes :)
Regards, Joonas
Quoted 3 lines
cscope.*
TAGS
build-aux/
Signature · 7 lines
Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Joonas Lahtinen
Quoted 5 lines · Michel Thierry
I cant be the only one that have added .tags by mistake.
Cc Marius Vlad <[email protected]>Cc Petri Latvala <[email protected]>Signed-off-by Michel Thierry <[email protected]><SNIP>
Quoted 10 lines
.gitignore core · line 84
Quoted 6 lines
+++ b/.gitignore
.gitignore +1
-0@@ -81,6 +81,7 @@ core *.swo *.swp *.dirstamp +.*You need to at least have "!.gitignore" to avoid ignoring further changes :)
My plan was to prevent further changes (not).
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 1/1 gitignore: Add files starting with .
In reply to Joonas LahtinenI cant be the only one that have added .tags by mistake.
v2: Do not ignore .gitignore
--- .gitignore | 2 ++ 1 file changed, 2 insertions(+)
.gitignore +2 -0
@@ -78,9 +78,11 @@ core # Edit the following section as needed # For example, !report.pc overrides *.pc. See 'man gitignore' # +!.gitignore *.swo *.swp *.dirstamp +.* cscope.* TAGS build-aux/
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 17 lines · Michel Thierry
I cant be the only one that have added .tags by mistake.
v2: Do not ignore .gitignore
Cc Petri Latvala <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Michel Thierry <[email protected]>--- .gitignore | 2 ++ 1 file changed, 2 insertions(+).gitignore +0
-0@@ -78,9 +78,11 @@ core # Edit the following section as needed
.gitignore core · line 88
Quoted 10 lines
.gitignore +2
-0# For example, !report.pc overrides *.pc. See 'man gitignore' # +!.gitignore *.swo *.swp *.dirstamp +.* cscope.* TAGS build-aux/
"!pattern" re-includes files excluded by _previous_ patterns. Reorder those changes so that .* is before !.gitignore.
For the record, that patch "works" for that particular source-root .gitignore file because it's already tracked by git and .gitignore only affects untracked files. The difference will only come up when adding a new .gitignore file in another directory.
Signature · 6 lines
Petri Latvala _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 1/1 gitignore: Add files starting with .
I cant be the only one that have added .tags by mistake.
v2: Do not ignore .gitignore
v3: Move !.gitignore at the end, otherwise it'll ignore new .gitignore files in another directory (Petri)
--- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+)
.gitignore +6 -0
@@ -81,6 +81,7 @@ core *.swo *.swp *.dirstamp +.* cscope.* TAGS build-aux/
@@ -93,3 +94,8 @@ intel-gpu-tools-*/ piglit results + +# +# git files that we don't want to ignore even it they are dot-files +# +!.gitignore
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Michel Thierry
I cant be the only one that have added .tags by mistake.
v2: Do not ignore .gitignore
v3: Move !.gitignore at the end, otherwise it'll ignore new .gitignore files in another directory (Petri)Cc Petri Latvala <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Michel Thierry <[email protected]>
Quoted 17 lines
--- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+).gitignore +1
-0@@ -81,6 +81,7 @@ core *.swo *.swp *.dirstamp +.* cscope.* TAGS build-aux/
.gitignore intel-gpu-tools-*/ · line 101
Quoted 8 lines
.gitignore +5
-0@@ -93,3 +94,8 @@ intel-gpu-tools-*/ piglit results + +# +# git files that we don't want to ignore even it they are dot-files +# +!.gitignore
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx