fixup.cc5711424b7ae36276a40c06ede5d95f87ca20f0
[git/dscho.git] / t / t4037-diff-default-options.sh
blob0284f7b6ec9b8f85b6d0c4e6cb3d9c9a4d2ece5d
1 #!/bin/sh
3 test_description='default options for diff'
5 . ./test-lib.sh
7 test_expect_success 'setup' '
8 test_commit a &&
9 test_commit b
12 test_expect_success 'diff.defaultOptions' '
13 git config diff.defaultOptions --raw &&
14 git diff a > output &&
15 grep ^: output &&
16 test 1 = $(wc -l < output)
19 test_done