git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Add intermediate build products to .gitignore

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 8, 2009, 22:07 UTC
Message-ID
<20091108220716.GA29035@progeny.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
Previous: Junio C Hamano
Message 3 of 3 in “Documentation: avoid tracking intermediate build products”
  1. Documentation: avoid tracking intermediate build productsJonathan Nieder, Nov 8, 2009
  2. Junio C HamanoNov 8, 2009
  3. Add intermediate build products to .gitignoreJonathan Nieder, Nov 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.