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

Re: [PATCH/GSoC] add a add.patch config variable

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 25, 2016, 06:30 UTC
Message-ID
<xmqqio0b5ash.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<56F489C3.9050400@web.de>
Dominik Fischer <d.f.fischer@web.de> writes:
> As the configuration variable can be overwritten by a command line
> option, I am tempted to amend this by replacing all occurrences of
> "git add" in other scripts with "git add --no-patch" to ensure the
> expected behavior.

Don't even think about it--you won't know all scripts you have to fix like that, as a lot more invocations of "git add" appear in end user's scripts that we have never seen.

Previous: Dominik FischerNext: Christian Couder
Message 5 of 6 in “[GSoC] Proposal”
  1. XZSMar 24, 2016
  2. add a add.patch config variableXZS, Mar 24, 2016
  3. Junio C HamanoMar 24, 2016
  4. Dominik FischerMar 25, 2016
  5. Junio C HamanoMar 25, 2016
  6. Christian CouderMar 25, 2016

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.