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

Bug: git add --patch does not honor "diff.noprefix"

From
Christian Weiske <cweiske@cweiske.de>
Date
Dec 6, 2018, 10:34 UTC
Message-ID
<c165fc5f-c452-fb2e-8ac3-d2afb12948bc@cweiske.de>
Hi,

When running "git add -p" on git version 2.19.2 and "diff.noprefix" set to true, it still shows the "a/" and "b/" prefixes.

This issue has been reported in 2016 already[1], but is still there in 2.19.2.

[1] https://public-inbox.org/git/E1D7329A-A54B-4D09-A72A-62ECA8005752@gmail.com/T/

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-
Next: Junio C Hamano
Message 1 of 2 in “Bug: git add --patch does not honor "diff.noprefix"”
  1. Christian WeiskeDec 6, 2018
  2. Junio C HamanoDec 9, 2018

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.