]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Properly ignore files in build-aux directory
authorJiri Denemark <jdenemar@redhat.com>
Fri, 7 Apr 2017 06:50:21 +0000 (08:50 +0200)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 19:18:38 +0000 (15:18 -0400)
We want to ignore all files except *.pl in build-aux directory, however
the unignore pattern "!/build-aux/*.pl" doesn't have any effect because
a previous "/build-aux/" pattern ignores the directory itself rather
than individual files in it.

https://bugzilla.redhat.com/show_bug.cgi?id=1439994

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
(cherry picked from commit f0ad8e7ee083c4bf196af42c615aac803be08460)

.gitignore

index 7b71bd1593042d6498be728f8eebcbce0aa194ab..d7927e1d4b9ba62dcf074a789ed55360e39f5c35 100644 (file)
@@ -43,7 +43,7 @@
 /NEWS
 /aclocal.m4
 /autom4te.cache
-/build-aux/
+/build-aux/*
 /build/
 /confdefs.h
 /config.cache