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

Re: 'git add --patch' no longer allows you to select files before selecting patches

From
Jeff King <peff@peff.net>
Date
Mar 13, 2017, 19:09 UTC
Message-ID
<20170313190936.vjyzdr2s2rc66frc@sigill.intra.peff.net>
In-Reply-To
<DF55CDE6-E556-4C07-B661-0F5AA00D306E@auvik.com>
On Mon, Mar 13, 2017 at 02:51:52PM -0400, Anthony Scian wrote:
> Similarly the patch sub-command in ‘git add —interactive’ goes
> immediately to selecting patches starting with the first file.
> Is there a git configuration that would being back the old behaviour?
> Why was this changed?
My, this seems to be a popular bug. This is the third report already. :)

The answer to your final question is that it's a bug. The fix is in c852bd54bd87fdcdc825f5d45c26aa745be13ba6, which is currently in the "master" branch of git.git.

Junio, I notice this isn't in "maint", and probably should be. It's a regression in v2.12.0, so hopefully we'd fix it in v2.12.1.

-Peff
Previous: Anthony ScianNext: Junio C Hamano
Message 2 of 4 in “'git add --patch' no longer allows you to select files before selecting patches”
  1. Anthony ScianMar 13, 2017
  2. Jeff KingMar 13, 2017
  3. Junio C HamanoMar 13, 2017
  4. Junio C HamanoMar 13, 2017

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.