diff mbox series

[v1,14/18] .gitignore: un-ignore .gitlab-ci.d

Message ID 20200622143204.12921-15-alex.bennee@linaro.org
State New
Headers show
Series testing/next (vm, gitlab) | expand

Commit Message

Alex Bennée June 22, 2020, 2:32 p.m. UTC
The sooner we deprecate in-tree builds the sooner this mess of regexes
can be thrown away.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

Comments

Daniel P. Berrangé June 22, 2020, 4:29 p.m. UTC | #1
On Mon, Jun 22, 2020 at 03:32:00PM +0100, Alex Bennée wrote:
> The sooner we deprecate in-tree builds the sooner this mess of regexes

> can be thrown away.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  .gitignore | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/.gitignore b/.gitignore

> index 90acb4347d4..9016ee0a0b4 100644

> --- a/.gitignore

> +++ b/.gitignore

> @@ -92,7 +92,7 @@

>  *.toc

>  *.tp

>  *.vr

> -*.d

> +!\.*.d


This doesn't look quite right to me. After this all the .d files are
marked as untracked.

I think you need something more like

  *.d
  !/.gitlab-ci.d


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 90acb4347d4..9016ee0a0b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -92,7 +92,7 @@ 
 *.toc
 *.tp
 *.vr
-*.d
+!\.*.d
 !/scripts/qemu-guest-agent/fsfreeze-hook.d
 *.o
 .sdk