test_detect_ref_format: fix comment
PATCH 1/1 test_detect_ref_format: fix comment
From: Johannes Schindelin <[email protected]>
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.
---
test_detect_ref_format: fix comment
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2019%2Fdscho%2Ffix-detect-ref-format-comment-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2019/dscho/fix-detect-ref-format-comment-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/2019
t/test-lib-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
t/test-lib-functions.sh +1 -1
@@ -1724,7 +1724,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}" }
base-commit: c4a0c8845e2426375ad257b6c221a3a7d92ecfda
Signature · 1 line
gitgitgadget
t/test-lib-functions.sh test_detect_hash () { · line 1730
Quoted 13 lines · Johannes Schindelin via GitGitGadget
t/test-lib-functions.sh +1
-1@@ -1724,7 +1724,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}" }
An obvious copy-paste error indeed. Thanks for fixing, this looks good to me!
Patrick