diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Tidy the test comments and shell portability
Diffstat (limited to 'tests/t0108-patch.sh')
-rwxr-xr-xtests/t0108-patch.sh7
1 file changed, 7 insertions, 0 deletions
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