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

Re: bug/feature request: apply textconv in "git add -p" diff output

From
SBSanti Béjar <santi@agolina.net>
Date
Jun 20, 2009, 07:58 UTC
Message-ID
<adf1fd3d0906200058o3e48018fg32c0efba5e4d62a4@mail.gmail.com>
In-Reply-To
<fcaeb9bf0906200017x6cc63c29q5515c11c202e424e@mail.gmail.com>
2009/6/20 Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Show 9 quoted lines
>
> Hi,
>
> I use git to manage bdf font files. It it quite cryptic so textconv
> for diff output makes it much easier to keep track of changes. The
> only problem is that "git add -p" does not seems to use textconv, so I
> have to run in parallel "git diff" and "git add -p", then add chunks
> accordingly. Can somebody add textconv support to "git add -p" please?
> I'm not so good at Perl to do the job.

While at it it would be great if one could toggle between normal diff and --color-words in "git add -p". I tried to do it but the logic in "git add -p" is base on lines (and not chuncks) and git diff --color-lines changes them and my perl-fu is not so good either.

Thanks in advance, Santi

Previous: Nguyen Thai Ngoc DuyNext: Michael J Gruber
Message 2 of 4 in “bug/feature request: apply textconv in "git add -p" diff output”
  1. Nguyen Thai Ngoc DuyJun 20, 2009
  2. Santi BéjarJun 20, 2009
  3. Michael J GruberJun 20, 2009
  4. Nguyen Thai Ngoc DuyJun 21, 2009

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.