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

Strange behavior with Git add -p in version 2.13.3

From
BRBen Reed <benvreed@gmail.com>
Date
Jul 13, 2017, 23:48 UTC
Message-ID
<CAEAWK2Nso0uFnn29B6=m=iV6-HjAEFTrrUg+b+7QzRhQ8TpZ6g@mail.gmail.com>

Hello, I updated Git to 2.13.3, and now selecting 's' to split a change on a call to `git add -p` is not working. It's showing the list of options as if 's' is not a valid choice...

Particularly, I'm getting... Stage this hunk [y,n,q,a,d,/,e,?]? s y - stage this hunk n - do not stage this hunk q - quit; do not stage this hunk or any of the remaining ones a - stage this hunk and all later hunks in the file d - do not stage this hunk or any of the later hunks in the file g - select a hunk to go to / - search for a hunk matching the given regex j - leave this hunk undecided, see next undecided hunk J - leave this hunk undecided, see next hunk k - leave this hunk undecided, see previous undecided hunk K - leave this hunk undecided, see previous hunk s - split the current hunk into smaller hunks e - manually edit the current hunk ? - print help

Is anyone else having this problem? Does anybody know how to resolve it? I'm running on macOS Version 10.12.5.

Thanks in advance!
-Ben
Next: Junio C Hamano
Message 1 of 2 in “Strange behavior with Git add -p in version 2.13.3”
  1. Ben ReedJul 13, 2017
  2. Junio C HamanoJul 14, 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.