l...@gnu.org (Ludovic Courtès) writes:

>> only specific files in "build-aux" dir should be added to
>> ".gitignore".  I can send a patch to fix this [...]
>
> I would gladly accept that.  :-)

Here it is!

--
Mathieu Lirzin

>From 34987afe669a2c90161ef661356beac2198be071 Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <m...@openmailbox.org>
Date: Mon, 6 Jul 2015 10:47:22 +0200
Subject: [PATCH] Prevent Git from silently ignoring new files.

* .gitignore: Ignore only specific files instead of the whole
  'build-aux' directory.
---
 .gitignore | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index a0f19d7..c1061d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,16 @@
 *.go
 tmp
 *.log
-/build-aux
+/build-aux/compile
+/build-aux/config.guess
+/build-aux/config.rpath
+/build-aux/config.sub
+/build-aux/depcomp
+/build-aux/install-sh
+/build-aux/mdate-sh
+/build-aux/missing
+/build-aux/test-driver
+/build-aux/texinfo.tex
 /configure
 Makefile.in
 Makefile
-- 
2.1.4

Reply via email to