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

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

 



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@xxxxxxxxxx>
> ---
>  .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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]