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

Re: Improved "git add"

From
NSNico -telmich- Schottelius <nico-linux-git@schottelius.org>
Date
Sep 18, 2005, 21:29 UTC
Message-ID
<20050918212904.GB1463@schottelius.org>
In-Reply-To
<Pine.LNX.4.58.0509181119040.26803@g5.osdl.org>
Linus Torvalds [Sun, Sep 18, 2005 at 11:27:45AM -0700]:
> [git-add/directory fix]
Nice, first cogito and now git itself. You are pretty fast.
> [...]
> Also, I think we should have a default ignore list if we don't find a 
> .git/info/exclude file. Ignoring "*.o" and ".*" by default would probably 
> be the right thing to do.

I do use doc/.warning or similar in some projects files for outputting a warning when somebody simply types 'make', so he'll get instructions on what to do.

Other people may even want to include *.o in their tree, because it's used by their program for another purpose.

I do not think that a VCS should ignore anything from itself. If we generate a standard .git/info/excludes (or whatever the name of it is) and write those standard values in there, this is a different thing.

Nico
-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
Previous: Linus TorvaldsNext: Petr Baudis
Message 2 of 3 in “Improved "git add"”
  1. Linus TorvaldsSep 18, 2005
  2. Nico -telmich- SchotteliusSep 18, 2005
  3. Petr BaudisSep 18, 2005

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.