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 24, 2016, 21:20 UTC
Message-ID
<xmqqvb4b7eu9.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1458853787-29807-2-git-send-email-d.f.fischer@web.de>
XZS <d.f.fischer@web.de> writes:
Show 6 quoted lines
> Users may like to review their changes when staging by default. It is
> also a convenient safety feature for beginners nudging them to have a
> second look at their changes when composing a commit.
>
> To this end, the config variable allows to have git-add to always act
> like -p was passed.

Now with such a configuration in her ~/.gitconfig, how would she ever run the normal "git add", which perhaps is invoked by one of the scripts she regularly uses? E.g. "git mergetool"?

Previous: XZSNext: Dominik Fischer
Message 3 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.