]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
src/bin/diffman-git: Disable adjustment by default
authorAlejandro Colomar <alx@kernel.org>
Fri, 2 May 2025 15:08:20 +0000 (17:08 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 2 May 2025 15:10:47 +0000 (17:10 +0200)
One can still enable it by setting an empty MANROFFOPT.

Suggested-by: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/bin/diffman-git

index ede506c91c39d5ed1088b50b61a655a7a92db867..25c0a98b6c45c3e72b039792b6451861e8ed1b4e 100755 (executable)
@@ -31,6 +31,7 @@ git rev-parse --show-toplevel | read -r dir;
 cd "$dir";
 
 test -v MAN_KEEP_FORMATTING || export MAN_KEEP_FORMATTING=1;
+test -v MANROFFOPT          || export MANROFFOPT='-d AD=l';
 
 # shellcheck disable=SC2206  # We want only non-empty variables in the array.
 opts=($s $w $u);