From 8273c8b176e9fc2cb2898b7ee76af2a8558db4ff Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 12 Aug 2026 19:26:32 -1000 Subject: Tidy the test comments and shell portability --- tests/t0108-patch.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/t0108-patch.sh') diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh index ffcba96..3d38e55 100755 --- a/tests/t0108-patch.sh +++ b/tests/t0108-patch.sh @@ -1,5 +1,12 @@ #!/bin/sh +# The patch page serves a commit as a mail ready patch, so that a change read +# from cgit can be fed straight to git am. The checks compare that output +# against git format-patch for a single commit and for a range of them, once +# the CGI headers have been stripped, which means the two have to agree line +# for line. The last one sets max-patch-count so a range wider than the limit +# comes back cut short. + test_description='Check content on patch page' . ./setup.sh -- cgit v2.8.0