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