[libvirt] [PATCH] add temporary compilation files into .gitignore

Eric Blake eblake at redhat.com
Thu Nov 6 14:35:05 UTC 2014


On 11/06/2014 02:21 PM, Martin Kletzander wrote:
> When using git-status during configure phase, three additional files are
> shown as untracked.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  .gitignore | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/.gitignore b/.gitignore
> index 9776ea1..c1d1455 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -40,6 +40,7 @@
>  /build-aux
>  /build-aux/
>  /build/
> +/confdefs.h
>  /config.cache
>  /config.guess
>  /config.h
> @@ -50,6 +51,8 @@
>  /config.sub
>  /configure
>  /configure.lineno
> +/conftest.c
> +/conftest.err

Change this to one line:

/conftest.*

because that is the namespace reserved for ALL configure tests (that is,
there are additional conftest.FOO suffixes that temporarily exist during
configure, and excluding the wildcard is a better option).

ACK with that tweak.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141106/6d4beaff/attachment-0001.sig>


More information about the libvir-list mailing list