# FR: git diff ignore option

2 messages from 2020-10-24 to 2020-10-26. Participants: Thomas Wolff, Phillip Wood.
Thread: https://gitlist.dev/t/54495

## Thomas Wolff, 2020-10-24 11:00

Subject: FR: git diff ignore option
Message-ID: <394e7906-e26b-8375-6d6b-d235f15d0c2e@towo.net>
URL: https://gitlist.dev/e/394e7906-e26b-8375-6d6b-d235f15d0c2e%40towo.net

```
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, 2020-10-26 10:39

Subject: Re: FR: git diff ignore option
Message-ID: <bc321532-7ce4-1480-1dca-f80f5b794506@gmail.com>
URL: https://gitlist.dev/e/bc321532-7ce4-1480-1dca-f80f5b794506%40gmail.com
In-Reply-To: <394e7906-e26b-8375-6d6b-d235f15d0c2e@towo.net>

```
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

> 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


```
