Diff options
| -rwxr-xr-x | tests/t0109-patch.sh | 2 |
1 file changed, 0 insertions, 2 deletions
diff --git a/tests/t0109-patch.sh b/tests/t0109-patch.sh index c90796d..64cb415 100755 --- a/tests/t0109-patch.sh +++ b/tests/t0109-patch.sh @@ -61,8 +61,6 @@ test_expect_success 'max-patch-count bounds a patch range' ' echo "repo.url=foo" && echo "repo.path=$PWD/repos/foo/.git" } >patchcountrc && - id=$(git --git-dir="$PWD/repos/foo/.git" rev-parse HEAD) && - root=$(git --git-dir="$PWD/repos/foo/.git" rev-list --max-parents=0 HEAD) && CGIT_CONFIG="$PWD/patchcountrc" QUERY_STRING="url=foo/patch&id=$id&id2=$root" cgit >tmp && test $(grep -c "^From " tmp) -eq 2 ' |
