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

Re: [PATCH] [BUG FIXED 2] git-add (-a|-u) and -n support

From
Karl Hasselström <kha@treskal.com>
Date
Oct 15, 2007, 14:31 UTC
Message-ID
<20071015143137.GA7351@diana.vm.bytemark.co.uk>
In-Reply-To
<D44B7811-5A0F-4A31-9DB3-6D2BF645E543@MIT.EDU>
On 2007-10-14 18:00:44 -0400, Michael Witten wrote:
Show 11 quoted lines
> Here's compromise that is backwards compatible. For both git-add and
> git-commit:
>
>       -a dir [dir2 ...] => all changes in the given dirs.
>       -a                => all changes from the root.
>
> Then we can just leave -u in place for now, and mark it as
> deprecated.
>
> In any case, the goal is to make the intuition solid between
> git-commit and git-add.

As I recall, Junio had some specific reason for calling the flag -u instead of -a. Search in the list archive for the patch that introduced the flag, or wait till he gets back and ask him.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Michael WittenNext: Michael Witten
Message 6 of 10 in “git-add (-a|-u) and -n support”
  1. git-add (-a|-u) and -n supportMichael Witten, Oct 14, 2007
  2. Michael WittenOct 14, 2007
  3. Michael WittenOct 14, 2007
  4. Matthieu MoyOct 14, 2007
  5. Michael WittenOct 14, 2007
  6. Karl HasselströmOct 15, 2007
  7. Michael WittenOct 15, 2007
  8. Johannes SchindelinOct 15, 2007
  9. Jeff KingOct 15, 2007
  10. Michael WittenOct 15, 2007

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.