# [PATCH] Documentation: avoid tracking intermediate build products

3 messages from 2009-11-08 to 2009-11-08. Participants: Jonathan Nieder, Junio C Hamano.
Thread: https://gitlist.dev/t/21529

## Jonathan Nieder, 2009-11-08 11:20

Subject: [PATCH] Documentation: avoid tracking intermediate build products
Message-ID: <20091108112009.GA23790@progeny.tock>
URL: https://gitlist.dev/e/20091108112009.GA23790%40progeny.tock

```
Add *.xml+, *.html+, *.texi+, and *.texi++ to .gitignore.

Cc: Chris Johnsen <chris_johnsen@pobox.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Some of these files appeared in the "git status" output after an
interrupted build.  I hope I caught them all.

Good night,
Jonathan

 Documentation/.gitignore |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Documentation/.gitignore b/Documentation/.gitignore
index d8edd90..22dbc0b 100644
--- a/Documentation/.gitignore
+++ b/Documentation/.gitignore
@@ -1,8 +1,12 @@
 *.xml
+*.xml+
 *.html
+*.html+
 *.[1-8]
 *.made
 *.texi
+*.texi+
+*.texi++
 git.info
 gitman.info
 howto-index.txt
-- 
1.6.5.2

```

## Junio C Hamano, 2009-11-08 19:08

Subject: Re: [PATCH] Documentation: avoid tracking intermediate build products
Message-ID: <7vvdhkdect.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vvdhkdect.fsf%40alter.siamese.dyndns.org
In-Reply-To: <20091108112009.GA23790@progeny.tock>

```
Jonathan Nieder <jrnieder@gmail.com> writes:

> Add *.xml+, *.html+, *.texi+, and *.texi++ to .gitignore.
>
> Cc: Chris Johnsen <chris_johnsen@pobox.com>
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
> ---
> Some of these files appeared in the "git status" output after an
> interrupted build.  I hope I caught them all.

Thanks; I think "*+" would suffice, though.

```

## Jonathan Nieder, 2009-11-08 22:07

Subject: [PATCH] Add intermediate build products to .gitignore
Message-ID: <20091108220716.GA29035@progeny.tock>
URL: https://gitlist.dev/e/20091108220716.GA29035%40progeny.tock
In-Reply-To: <7vvdhkdect.fsf@alter.siamese.dyndns.org>

```
Temporaries such as configure.ac+ and Documentation/*.xml+
sometimes remain after an interrupted build.  Tell git not to
track them.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Junio C Hamano wrote:
> Jonathan Nieder <jrnieder@gmail.com> writes:
 
>> Some of these files appeared in the "git status" output after an
>> interrupted build.  I hope I caught them all.
> 
> Thanks; I think "*+" would suffice, though.

That’s much better.  Here’s an updated patch.

 .gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 51a37b1..f0d2e96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -168,6 +168,7 @@ git.spec
 *.exe
 *.[aos]
 *.py[co]
+*+
 config.mak
 autom4te.cache
 config.cache
-- 
1.6.5.2

```
