diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t4056-diff-order.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t4056-diff-order.sh b/t/t4056-diff-order.sh index ae8036b73a..1ddd226b78 100755 --- a/t/t4056-diff-order.sh +++ b/t/t4056-diff-order.sh @@ -89,6 +89,16 @@ do wait && test_cmp expect_$i actual ' + + test_expect_success "orderfile using config ($i)" ' + git -c diff.orderfile=order_file_$i diff --name-only HEAD^..HEAD >actual && + test_cmp expect_$i actual + ' + + test_expect_success "cancelling configured orderfile ($i)" ' + git -c diff.orderfile=order_file_$i diff -O/dev/null --name-only HEAD^..HEAD >actual && + test_cmp expect_none actual + ' done test_done |