X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4029-diff-trailing-space.sh;h=9ddbbcde57489e266e2f229314ebac5dbfeb3be6;hb=f5b223abfdc01455d42ed005b4fd9330b06c2967;hp=4ca65e033289fe4ac757a3f19ecd3169bdb434e4;hpb=c9d8563c815a6a90bcc15057de288684d7cae5ef;p=git.git diff --git a/t/t4029-diff-trailing-space.sh b/t/t4029-diff-trailing-space.sh index 4ca65e033..3ccc237a8 100755 --- a/t/t4029-diff-trailing-space.sh +++ b/t/t4029-diff-trailing-space.sh @@ -1,8 +1,8 @@ -#!/bin/bash +#!/bin/sh # # Copyright (c) Jim Meyering # -test_description='diff honors config option, diff.suppress-blank-empty' +test_description='diff honors config option, diff.suppressBlankEmpty' . ./test-lib.sh @@ -24,14 +24,14 @@ test_expect_success \ git add f && git commit -q -m. f && printf "\ny\n" > f && - git config --bool diff.suppress-blank-empty true && + git config --bool diff.suppressBlankEmpty true && git diff f > actual && test_cmp exp actual && perl -i.bak -p -e "s/^\$/ /" exp && - git config --bool diff.suppress-blank-empty false && + git config --bool diff.suppressBlankEmpty false && git diff f > actual && test_cmp exp actual && - git config --bool --unset diff.suppress-blank-empty && + git config --bool --unset diff.suppressBlankEmpty && git diff f > actual && test_cmp exp actual '