X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4029-diff-trailing-space.sh;h=9ddbbcde57489e266e2f229314ebac5dbfeb3be6;hb=f630171d9d1839669446506aff0704a4dfe98b99;hp=4ca65e033289fe4ac757a3f19ecd3169bdb434e4;hpb=c0a4ae5caf220f97371e8b2c124d50fdd7663cf1;p=git.git diff --git a/t/t4029-diff-trailing-space.sh b/t/t4029-diff-trailing-space.sh index 4ca65e033..9ddbbcde5 100755 --- a/t/t4029-diff-trailing-space.sh +++ b/t/t4029-diff-trailing-space.sh @@ -2,7 +2,7 @@ # # 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 '