repo.or.cz
/
git
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixup.cc5711424b7ae36276a40c06ede5d95f87ca20f0
[git/dscho.git]
/
t
/
t4037-diff-default-options.sh
blob
0284f7b6ec9b8f85b6d0c4e6cb3d9c9a4d2ece5d
1
#!/bin/sh
2
3
test_description
=
'default options for diff'
4
5
. .
/
test-lib.sh
6
7
test_expect_success
'setup'
'
8
test_commit a &&
9
test_commit b
10
'
11
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)
17
'
18
19
test_done