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

Re: [PATCH] git-add -u: match the index with working tree.

From
Nikolai Weibull <now@bitwi.se>
Date
Apr 20, 2007, 11:18 UTC
Message-ID
<dbfc82860704200418o4d27b5a6pc3ea2f5abe25be8e@mail.gmail.com>
In-Reply-To
<7virbrz47b.fsf@assigned-by-dhcp.cox.net>
On 4/20/07, Junio C Hamano <junkio@cox.net> wrote:
Show 14 quoted lines
> Karl Hasselström <kha@treskal.com> writes:
>
> > On 2007-04-20 01:42:18 -0700, Junio C Hamano wrote:
> >
> >> This is a shorthand of what "git commit -a" does in preparation
> >> for making a commit,
> > [snip]
> >> -"git-add [-n] [-v] [-f] [--interactive | -i] [--] <filepattern>...";
> >> +"git-add [-n] [-v] [-f] [--interactive | -i] [-u] [--] <filepattern>...";
> >
> > Any particular reason for choosing a different letter than the
> > -a/--all that git commit uses?
>
> Haven't I explain that elsewhere already?
Yes, in <7vzm531ly3.fsf@assigned-by-dhcp.cox.net>.
Specifically:
> I picked "-u" instead of "-a" because I wanted to stress that
> this is about "updating" (which has connotation that it is
> relative to something, and in this case it is relative to the
> current "index"), and not about "all", which "-a" would imply.
  nikolai
Previous: Junio C HamanoNext: Karl Hasselström
Message 11 of 13 in “git-add -u: match the index with working tree.”
  1. git-add -u: match the index with working tree.Junio C Hamano, Apr 20, 2007
  2. Do not show progress meter while checking files out.Junio C Hamano, Apr 20, 2007
  3. Johannes SixtApr 20, 2007
  4. Andy ParkinsApr 20, 2007
  5. Matthieu MoyApr 20, 2007
  6. Nicolas PitreApr 20, 2007
  7. Shawn O. PearceApr 20, 2007
  8. J. Bruce FieldsApr 20, 2007
  9. Karl HasselströmApr 20, 2007
  10. Junio C HamanoApr 20, 2007
  11. Nikolai WeibullApr 20, 2007
  12. Karl HasselströmApr 20, 2007
  13. Junio C HamanoApr 20, 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.