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

Re: What's cooking in git.git (Oct 2013, #02; Mon, 14)

From
Jens Lehmann <jens.lehmann@web.de>
Date
Oct 15, 2013, 19:42 UTC
Message-ID
<525D9A96.6050209@web.de>
In-Reply-To
<20131015191656.GD9464@google.com>
Am 15.10.2013 21:16, schrieb Jonathan Nieder:
> So I suspect this will fix more scripts than it breaks, though it may
> still break some. :/
Hmm, I'm really not sure if we should do this or not.
Show 5 quoted lines
> It might make sense to warn when passed multiple arguments and some
> include shell metacharacters, since that's probably rare, too, except
> it's punishing people who use multiple arguments as a way to avoid
> quoting issues.  Probably there's no replacement for just advertising
> the change loudly and seeking out scripts it could break.

And maybe only change that on a major version bump where people should not be terribly surprised about such a change in behavior and are more likely to read release notes?

I've thought about issuing a warning on certain quoting patterns too, but dismissed that for not helping much in the scripting case. E.g. at $dayjob we have foreach commands running in the shell execution for quite some jobs on our Jenkins server; nobody would see any warnings there until we'd have the reason to dig deeper int the logs because something breaks.

Previous: Jonathan NiederNext: Jonathan Nieder
Message 6 of 9 in “What's cooking in git.git (Oct 2013, #01; Mon, 14)”
  1. Jonathan NiederOct 14, 2013
  2. What's cooking in git.git (Oct 2013, #02; Mon, 14)Jonathan Nieder, Oct 15, 2013
  3. Ramkumar RamachandraOct 15, 2013
  4. Junio C HamanoOct 15, 2013
  5. Jonathan NiederOct 15, 2013
  6. Jens LehmannOct 15, 2013
  7. Jonathan NiederOct 15, 2013
  8. Jens LehmannOct 16, 2013
  9. Jens LehmannOct 15, 2013

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.