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

Re: [PATCH] Document that "git add" only adds non-ignored files.

From
Junio C Hamano <junkio@cox.net>
Date
May 19, 2006, 21:56 UTC
Message-ID
<7vfyj5ispx.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<8aa486160605191402k2863e5edk@mail.gmail.com>

Thanks for the reminder, but I wonder if it is good to update the description of this command, and ls-files to use the same wording for consistency. We seem to use <pathspec> to mean "this is not necessarily a filename -- we glob", so that may be a good candidate (we do not have <pathspec> in glossary yet -- we would need to add).

Please don't touch description for diff-* family -- right now, they say <path>, because they do not glob. If we decide that it is a good idea to glob (which I suspect we don't for the low-level stuff, but we probably do for the "git-diff" wrapper), we would update the code and the description at the same time.

Previous: SantiNext: Santi
Message 2 of 3 in “Document that "git add" only adds non-ignored files.”
  1. Document that "git add" only adds non-ignored files.Santi, May 19, 2006
  2. Junio C HamanoMay 19, 2006
  3. SantiMay 20, 2006

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.