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

Re: [PATCH] add: make "add -u/-A" update full tree without pathspec (step 3)

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Mar 23, 2011, 14:02 UTC
Message-ID
<AANLkTikBQg_pT2NX9vQc+DcB+4HA35VXBpQyRtAU_ewG@mail.gmail.com>
In-Reply-To
<7v1v1yifc9.fsf_-_@alter.siamese.dyndns.org>
2011/3/23 Junio C Hamano <gitster@pobox.com>:
Show 8 quoted lines
> Now long after 1.8.0 happened, people should have got used to the
> new default behaviour and it is no longer necessary to give the
> migration advice anymore.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
>
>  * And this concludes the two-year long series from the future ;-)
Beautiful.

I'd expect you kill add.treewideupdate too. Say one year after this patch, we can start to annoy users asking them to remove add.treewideupdate and switch to new behavior. Another year goes by, we refuse to work with those who still keep add.treewideupdate config.

A consistent default behavior is a good thing. If I help a git user and later realize "git add -u" on their machine does not work as I expect it to be, it'd be less pleasant.

-- 
Duy
Previous: Junio C HamanoNext: Junio C Hamano
Message 12 of 15 in “What's cooking in git.git (Mar 2011, #02; Sun, 20)”
  1. Junio C HamanoMar 20, 2011
  2. Jens LehmannMar 20, 2011
  3. Junio C HamanoMar 20, 2011
  4. Junio C HamanoMar 20, 2011
  5. Matthieu MoyMar 20, 2011
  6. Junio C HamanoMar 21, 2011
  7. Jeff KingMar 21, 2011
  8. Junio C HamanoMar 21, 2011
  9. add: make "add -u/-A" update full tree without pathspecJunio C Hamano, Mar 23, 2011
  10. add: make "add -u/-A" update full tree without pathspec (step 2)Junio C Hamano, Mar 23, 2011
  11. add: make "add -u/-A" update full tree without pathspec (step 3)Junio C Hamano, Mar 23, 2011
  12. Nguyen Thai Ngoc DuyMar 23, 2011
  13. Junio C HamanoMar 23, 2011
  14. Ævar Arnfjörð BjarmasonMar 22, 2011
  15. Junio C HamanoMar 22, 2011

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.