On 02/15/2017 08:24 PM, Michel Thierry wrote:
I cant be the only one that have added .tags by mistake.

v2: Do not ignore .gitignore

Cc: Petri Latvala <petri.latv...@intel.com>
Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
Signed-off-by: Michel Thierry <michel.thie...@intel.com>
  .gitignore | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 6204965a..4d5867a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -78,9 +78,11 @@ core
  #             Edit the following section as needed
  # For example, !report.pc overrides *.pc. See 'man gitignore'

"!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.

Petri Latvala

Intel-gfx mailing list

Reply via email to