[PATCH 5/5] Update .gitignore

Gaetan Nadon memsize at videotron.ca
Sun Nov 28 11:01:49 PST 2010


On Sun, 2010-11-28 at 15:47 +0100, Jan Engelhardt wrote:

> Limit exclusion of files to their respective directory
> that they can appear in.
> 
> Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
> ---
>  .gitignore |   34 +++++++++++++++++-----------------
>  1 files changed, 17 insertions(+), 17 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index a640dea..9f41f50 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,23 +1,23 @@
>  *.lo
>  *.o
> -ChangeLog
> -INSTALL
> +/ChangeLog
> +/INSTALL
>  Makefile
>  Makefile.in
> -aclocal.m4
> -autom4te.cache/
> -config.guess
> -config.log
> -config.status
> -config.sub
> -configure
> -depcomp
> -install-sh
> -libtool
> -ltmain.sh
> -missing
> -stamp-h1
> -xkbcommon.pc
> -ylwrap
> +/aclocal.m4
> +/autom4te.cache/
> +/config.guess
> +/config.log
> +/config.status
> +/config.sub
> +/configure
> +/depcomp
> +/install-sh
> +/libtool
> +/ltmain.sh
> +/missing
> +/stamp-h1
> +/xkbcommon.pc
> +/ylwrap
>  .deps/
>  .libs/


Nothing wrong with this patch, but to prevent having to
update .gitignore
(and forgetting to update it), you can copy the .gitignore from just
about any of the
xorg modules.

For example:
http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/.gitignore

You wil be able to remove the .gitignore in the m4 directory. You can
keep the
AC_CONFIG_MACRO_DIR but you will need to remove the -I m4 from
the Makefile.am file. The build will fail on a newly cloned repo.

The .gitignore is a file containing "patterns", it's not just a list of
files. It
applies to all subdirectories.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20101128/fb303f65/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20101128/fb303f65/attachment.pgp>


More information about the xorg mailing list