diffstat summary line varies by locale: miscellany
These changes are in the same spirit as the six patches that precede them, but they haven't been split into individually justifiable patches yet. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
2983c0e22a
commit
6dd88832e7
@ -23,9 +23,8 @@ test_expect_success 'move the files into a "sub" directory' '
|
||||
'
|
||||
|
||||
cat > expected <<\EOF
|
||||
bar => sub/bar | Bin 5 -> 5 bytes
|
||||
foo => sub/foo | 0
|
||||
2 files changed, 0 insertions(+), 0 deletions(-)
|
||||
- - bar => sub/bar
|
||||
0 0 foo => sub/foo
|
||||
|
||||
diff --git a/bar b/sub/bar
|
||||
similarity index 100%
|
||||
@ -38,7 +37,8 @@ rename to sub/foo
|
||||
EOF
|
||||
|
||||
test_expect_success 'git show -C -C report renames' '
|
||||
git show -C -C --raw --binary --stat | tail -n 12 > current &&
|
||||
git show -C -C --raw --binary --numstat >patch-with-stat &&
|
||||
tail -n 11 patch-with-stat >current &&
|
||||
test_cmp expected current
|
||||
'
|
||||
|
||||
|
Reference in New Issue
Block a user