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

Re: git commit --interactive patch-mode no longer allows selecting files

From
Jeff King <peff@peff.net>
Date
Mar 9, 2017, 18:23 UTC
Message-ID
<20170309182320.n77lvytjh7u2b2a2@sigill.intra.peff.net>
In-Reply-To
<8C99B562-9194-4227-B40D-F64BBECEEE38@joernhees.de>
On Thu, Mar 09, 2017 at 06:48:58PM +0100, Jörn Hees wrote:
Show 8 quoted lines
> i'm not entirely sure if this is a bug or intended (couldn't find it in the changelogs though)...
> 
> Before 2.12.0 a `git commit --int` / `git add --int` followed by [p]
> for patch-mode, would allow a numeric selection of the files to patch
> hunks for (this behavior is well documented all over the internet).
> 
> Since 2.12.0 the numeric selection is skipped and automatically drops
> me directly into hunk mode (Mac OS X homebrew).

It's a bug. The fix is in c852bd54bd87fdcdc825f5d45c26aa745be13ba6, but has not yet been merged to any integration branches. I hope it will make it into v2.12.1.

-Peff
Previous: Jörn HeesNext: Junio C Hamano
Message 2 of 4 in “git commit --interactive patch-mode no longer allows selecting files”
  1. Jörn HeesMar 9, 2017
  2. Jeff KingMar 9, 2017
  3. Junio C HamanoMar 10, 2017
  4. Jeff KingMar 10, 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.