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 +
192 files changed, 2 insertions(+)
20EOF
21git diff --stat --stat-count=2 >actual &&
22test_i18ncmp expect actual
23'
2425
test_done