From 1202b6b7cce4803a31aaf2026b3142a26ed3ebcc Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:12:55 -0700 Subject: Reuse the ids t0109 has already looked up --- tests/t0109-patch.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/t0109-patch.sh') 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 ' -- cgit