repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
diff --no-index: reset temporary buffer lengths on directory iteration
[alt-git.git]
/
t
/
t4053-diff-no-index.sh
blob
4dc8c67edc683fd7fe492c7373226df74a0127bc
1
#!/bin/sh
2
3
test_description
=
'diff --no-index'
4
5
. .
/
test-lib.sh
6
7
test_expect_success
'setup'
'
8
mkdir a &&
9
mkdir b &&
10
echo 1 >a/1 &&
11
echo 2 >a/2
12
'
13
14
test_expect_success
'git diff --no-index directories'
'
15
git diff --no-index a b >cnt
16
test $? = 1 && test_line_count = 14 cnt
17
'
18
19
test_done