1#!/bin/sh
2# Copyright (c) 2011, Google Inc.
34
test_description='diff --stat-count'
5. ./test-lib.sh
67
test_expect_success setup '
8>a &&
9>b &&
10>c &&
11>d &&
12git add a b c d &&
13chmod +x c d &&
14echo a >a &&
15echo b >b &&
16cat >expect <<-\EOF
17a | 1 +
18b | 1 +
19...
204 files changed, 2 insertions(+)
21EOF
22git diff --stat --stat-count=2 >actual &&
23test_i18ncmp expect actual
24'
2526
test_done