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

Re: Patch text in git-add patch mode lacks whitespace highlighting

From
Mike McGranahan <mike@mcgwiz.com>
Date
Feb 1, 2020, 00:49 UTC
Message-ID
<CAK7jxYiBPjcLBpNKy5k1jf116EWr4HB9B-2rzUxiCG+m-Kyzeg@mail.gmail.com>
In-Reply-To
<nycvar.QRO.7.76.6.2001311304140.46@tvgsbejvaqbjf.bet>

On Fri, Jan 31, 2020 at 4:37 AM Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 12 quoted lines
> Well, let's first try to get a preciser report, to make sure that we're on
> the same page. These are the commands I ran:
>
>         mkdir add-p-ws-error
>         cd add-p-ws-error
>         git init
>         git config diff.wsErrorHighlight old
>         echo "hello " >README
>         git add README
>         echo hello >README
>         git -c add.interactive.usebuiltin=true add -p
>         git -c add.interactive.usebuiltin=false add -p
Those commands do indeed reproduce the behavior I described.
-Mike
Previous: Johannes SchindelinNext: Jeff King
Message 6 of 14 in “Patch text in git-add patch mode lacks whitespace highlighting”
  1. Mike McGranahanJan 30, 2020
  2. Jeff KingJan 31, 2020
  3. diff: move diff.wsErrorHighlight to "basic" configJeff King, Jan 31, 2020
  4. Mike McGranahanFeb 1, 2020
  5. Johannes SchindelinJan 31, 2020
  6. Mike McGranahanFeb 1, 2020
  7. Jeff KingFeb 1, 2020
  8. Johannes SchindelinFeb 1, 2020
  9. Jeff KingFeb 3, 2020
  10. Johannes SchindelinFeb 3, 2020
  11. Jeff KingFeb 3, 2020
  12. Junio C HamanoFeb 4, 2020
  13. Jeff KingFeb 4, 2020
  14. Johannes SchindelinFeb 4, 2020

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.