Re: [PATCH] diff: add --no-indicators option
From: Harald Nordgren <hidden>
Date: 2025-12-20 10:52:25
From: Harald Nordgren <hidden>
Date: 2025-12-20 10:52:25
That was why I asked if there are precedents, either in GNU or BSD implementations of "diff".
Hi Junio! Got it! I did some research and it seems GNU diff has features for this and BSD diff is more barebones. GNU diff has the option to turn off +/- indicators with `--line-format='%L'`, however it also turns of colors even if supplying `--color=always`. Git doesn't have this option yet, so maybe it's time to implement it, but be a bit smarter so colors are shown its a TTY? Harald