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

Re: What's cooking in git.git (Mar 2011, #02; Sun, 20)

From
Jeff King <peff@peff.net>
Date
Mar 21, 2011, 11:16 UTC
Message-ID
<20110321111643.GE16334@sigill.intra.peff.net>
In-Reply-To
<7vhbaxuyk7.fsf@alter.siamese.dyndns.org>
On Sun, Mar 20, 2011 at 05:06:32PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
> 
> > Junio C Hamano <gitster@pobox.com> writes:
> >
> >> Unfortunately
> >> we do not have a good way to let people who have already heard
> >> about the transition to squelch it yet.
> >
> > How about an advice.addWithoutPath config variable to disable it?
> 
> I don't think it is worth it; I'd rather see :/ magic implemented earlier.
> 
> Another possibility is to error out on "git add -u" without pathspec in a
> subdirectory as an error in 1.8.0, and then make it full-tree in 1.8.X in
> a distant future, but that wouldn't be as pleasant.

I thought we cared about giving fans of the current behavior a way to keep it (without having to use additional syntax). Script-writers already need to use "./" to be portable to old versions of git, so it's not hurting them (unless you want to count N years into the future, when we can discount such old versions).

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 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.