]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test_detect_ref_format: fix comment
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 18 Dec 2025 15:20:59 +0000 (15:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Dec 2025 03:49:51 +0000 (12:49 +0900)
When 58aaf59133b (t: introduce GIT_TEST_DEFAULT_REF_FORMAT envvar,
2023-12-29) copy-edited the `test_detect_hash` function, the code
comment was accidentally left unchanged. Let's adjust it.

Noticed-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib-functions.sh

index 78e054ab503a6573ca9810a19d89afff334c6ba2..10bbcea0667db46dc22009774109fd6feebe99a6 100644 (file)
@@ -1702,7 +1702,7 @@ test_detect_hash () {
        esac
 }
 
-# Detect the hash algorithm in use.
+# Detect the ref format in use.
 test_detect_ref_format () {
        echo "${GIT_TEST_DEFAULT_REF_FORMAT:-files}"
 }