diff mbox

[i-g-t,v3] gitignore: Add files starting with .

Message ID 20170216193426.23193-1-michel.thierry@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michel Thierry Feb. 16, 2017, 7:34 p.m. UTC
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 <petri.latvala@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
---
 .gitignore | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Petri Latvala Feb. 17, 2017, 9:31 a.m. UTC | #1
On 02/16/2017 09:34 PM, Michel Thierry wrote:
> 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 <petri.latvala@intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Signed-off-by: Michel Thierry <michel.thierry@intel.com>

Reviewed-by: Petri Latvala <petri.latvala@intel.com>

> ---
>   .gitignore | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index 6204965a..de79020f 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -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
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
index 6204965a..de79020f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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