From 2851eb72d7bc14445ba632e01a157b04ece0ff57 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 10 Aug 2026 21:37:51 -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 2.12.1