From: Thomas Gummerer Date: Sun, 26 Nov 2017 20:21:00 +0000 (+0000) Subject: t/README: document test_cmp_rev X-Git-Tag: v2.16.0-rc0~60^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a0526264b472dff1def6b5c6facd0e9a54cbac7;p=thirdparty%2Fgit.git t/README: document test_cmp_rev test_cmp_rev is a useful function that's used in quite a few test scripts. It is however not documented in t/README. Document it. Signed-off-by: Thomas Gummerer Signed-off-by: Junio C Hamano --- diff --git a/t/README b/t/README index 448569b60e..e867d1f8bd 100644 --- a/t/README +++ b/t/README @@ -674,6 +674,11 @@ library for your script to use. file. This behaves like "cmp" but produces more helpful output when the test is run with "-v" option. + - test_cmp_rev + + Check whether the rev points to the same commit as the + rev. + - test_line_count (= | -lt | -ge | ...) Check whether a file has the length it is expected to.