about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtests/t0108-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh index 3b5bae4..867d739 100755 --- a/tests/t0108-patch.sh +++ b/tests/t0108-patch.sh
@@ -24,7 +24,7 @@ test_expect_success 'find `cgit` signature' '
24' 24'
25 25
26test_expect_success 'find initial commit' ' 26test_expect_success 'find initial commit' '
27 root=$(git --git-dir="$PWD/repos/foo/.git" rev-list HEAD | tail -1) 27 root=$(git --git-dir="$PWD/repos/foo/.git" rev-list --max-parents=0 HEAD)
28' 28'
29 29
30test_expect_success 'generate patch for initial commit' ' 30test_expect_success 'generate patch for initial commit' '