[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: [PATCH 5/5] Update .gitignore
From:       Gaetan Nadon <memsize () videotron ! ca>
Date:       2010-11-28 19:01:49
Message-ID: 1290970909.3874.782.camel () ubuntu
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


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





[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Sun, 2010-11-28 at 15:47 +0100, Jan Engelhardt wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Limit exclusion of files to their respective directory
that they can appear in.

Signed-off-by: Jan Engelhardt &lt;<A \
                HREF="mailto:jengelh@medozas.de">jengelh@medozas.de</A>&gt;
---
 .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/
</PRE>
</BLOCKQUOTE>
<BR>
Nothing wrong with this patch, but to prevent having to update .gitignore<BR>
(and forgetting to update it), you can copy the .gitignore from just about any of \
the<BR> xorg modules.<BR>
<BR>
For example:<BR>
<A HREF="http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/.gitignore">http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/.gitignore</A><BR>
 <BR>
You wil be able to remove the .gitignore in the m4 directory. You can keep the<BR>
AC_CONFIG_MACRO_DIR but you will need to remove the -I m4 from<BR>
the Makefile.am file. The build will fail on a newly cloned repo.<BR>
<BR>
The .gitignore is a file containing &quot;patterns&quot;, it's not just a list of \
files. It<BR> applies to all subdirectories.<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>


["signature.asc" (application/pgp-signature)]

_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic