From: Alejandro Colomar Date: Mon, 18 Aug 2025 08:34:17 +0000 (+0200) Subject: src/bin/diffman-git: Show sections as hunk context X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e595b251028db1a33e45bdbcd0d397d0b1852b4c;p=thirdparty%2Fman-pages.git src/bin/diffman-git: Show sections as hunk context Signed-off-by: Alejandro Colomar --- diff --git a/src/bin/diffman-git b/src/bin/diffman-git index 2b7701548..cabae0574 100755 --- a/src/bin/diffman-git +++ b/src/bin/diffman-git @@ -55,7 +55,7 @@ esac \ *) git show "$new"; ;; esac \ | man /dev/stdin \ - | diff --label "$old" --label "$new" "${opts[@]}" \ + | diff -F'^[^ ]' --label "$old" --label "$new" "${opts[@]}" \ <(git show "$old" | man /dev/stdin) \ /dev/stdin \ || true;