3 # Copyright (c) Jim Meyering
5 test_description='diff honors config option, diff.suppressBlankEmpty'
11 index 5f6a263..8cb8bae 100644
23 'printf "\nx\n" > f &&
25 git commit -q -m. f &&
27 git config --bool diff.suppressBlankEmpty true &&
28 git diff f > actual &&
29 test_cmp exp actual &&
30 "$PERL_PATH" -i.bak -p -e "s/^\$/ /" exp &&
31 git config --bool diff.suppressBlankEmpty false &&
32 git diff f > actual &&
33 test_cmp exp actual &&
34 git config --bool --unset diff.suppressBlankEmpty &&
35 git diff f > actual &&