[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]