threads / discuss / 54495

FR: git diff ignore option

Subject: FR: git diff ignore option

## tl;dr

2 messages between Oct 24, 2020 and Oct 26, 2020.

replies: 1people: 2as markdown or json

Thomas Wolff· Oct 24, 2020, 11:00 UTC · lore

git diff is missing an ignore option, like `diff -I`, which would be especially useful for translation files (.po) to check changed contents and not updated line numbers:

#: sourcefile.c:/123/ msgid "id" msgstr "*changed text*"

"changed text" is important to be checked, "123" is distracting

Kind regards Thomas

Phillip Wood· Oct 26, 2020, 10:39 UTC · re: Thomas Wolff · lore

Re: FR: git diff ignore option

Hi Thomas
On 24/10/2020 12:00, Thomas Wolff wrote:
> git diff is missing an ignore option, like `diff -I`,

This is being worked on at the moment - see https://lore.kernel.org/git/20201020064809.14297-1-michal@isc.org

Best Wishes
Phillip
Show 12 quoted lines
> which would be 
> especially useful for translation files (.po) to check changed contents 
> and not updated line numbers:
> 
> #: sourcefile.c:/123/
> msgid "id"
> msgstr "*changed text*"
> 
> "changed text" is important to be checked, "123" is distracting
> 
> Kind regards
> Thomas

← back to recent threads