aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2025-12-18 15:20:59 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-19 12:49:51 +0900
commit949df6ed6b02f0d52b3509b68b8c9fe27e56cd97 (patch)
treedb3e3d82e9731cea7c36d014baca031e511be76f
parenta1cf0cf13ab3a659ac77b7d749d6e5b11dc0142b (diff)
downloadgit-949df6ed6b02f0d52b3509b68b8c9fe27e56cd97.tar.xz
test_detect_ref_format: fix comment
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>
-rw-r--r--t/test-lib-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 78e054ab50..10bbcea066 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -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}"
}