1#!/bin/sh
23
test_description='diff --no-index'
45
. ./test-lib.sh
67
test_expect_success 'setup' '
8mkdir a &&
9mkdir b &&
10echo 1 >a/1 &&
11echo 2 >a/2
12'
1314
test_expect_success 'git diff --no-index directories' '
15git diff --no-index a b >cnt
16test $? = 1 && test_line_count = 14 cnt
17'
1819
test_done