threads / patch / 21529

patchDocumentation: avoid tracking intermediate build products

Subject: [PATCH] Documentation: avoid tracking intermediate build products

## tl;dr

3 messages between Nov 8, 2009 and Nov 8, 2009. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Jonathan Nieder· Nov 8, 2009, 11:20 UTC · lore
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(-)
Show changes to Documentation/.gitignore +4 −0
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· Nov 8, 2009, 19:08 UTC · re: Jonathan Nieder · lore

Re: [PATCH] Documentation: avoid tracking intermediate build products

Jonathan Nieder <jrnieder@gmail.com> writes:
Show 7 quoted lines
> 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· Nov 8, 2009, 22:07 UTC · re: Junio C Hamano · lore

[PATCH] Add intermediate build products to .gitignore

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(-)
Show changes to .gitignore +1 −0
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

← back to recent threads