From: Jacob Keller <jacob.keller@xxxxxxxxx> Signed-off-by: Jacob Keller <jacob.keller@xxxxxxxxx> --- t/t4045-diff-relative.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/t4045-diff-relative.sh b/t/t4045-diff-relative.sh index 3950f5034d31..41e4f59b2ffb 100755 --- a/t/t4045-diff-relative.sh +++ b/t/t4045-diff-relative.sh @@ -70,4 +70,9 @@ for type in diff numstat stat raw; do check_$type dir/file2 --relative=sub done +cd subdir +for type in diff numstat stat raw; do + check_$type file2 --relative +done + test_done -- 2.15.1.477.g3ed0a2a61da8