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

git add --patch displays diff and exits

From
JBJake Bell <jake@theunraveler.com>
Date
Oct 6, 2017, 18:09 UTC
Message-ID
<AE36B16D-0284-4AC0-BD5E-CD346036D69D@theunraveler.com>
Hello,
I'm not sure if this is the right place to report this issue, so apologies in advance if it isn't.
Recently, I upgraded from git 2.14.1 to 2.14.2, and noticed that "git add --patch" does not work properly. It just prints a diff of what's changed and exits, instead of presenting the dialogs to add changes to the index. I did some bisecting and tracked the bug down to this commit: https://github.com/git/git/commit/136c8c8b8fa39f1315713248473dececf20f8fe7.

Unfortunately, I'm not familiar with the codebase and don't know C well enough to debug the issue. Please let me know what additional information I can provide to help you all figure it out. Thanks!

-- Jake
Next: Stefan Beller
Message 1 of 3 in “git add --patch displays diff and exits”
  1. Jake BellOct 6, 2017
  2. Stefan BellerOct 6, 2017
  3. Jake BellOct 6, 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.