git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] test_detect_ref_format: fix comment

From
Patrick Steinhardt <ps@pks.im>
Date
Dec 19, 2025, 06:43 UTC
Message-ID
<aUT0FKKNTACtY1gF@pks.im>
In-Reply-To
<pull.2019.git.1766071259531.gitgitgadget@gmail.com>
On Thu, Dec 18, 2025 at 03:20:59PM +0000, Johannes Schindelin via GitGitGadget wrote:
Show 13 quoted lines
> diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
> index 52d7759bf5..14e238d24d 100644
> --- a/t/test-lib-functions.sh
> +++ b/t/test-lib-functions.sh
> @@ -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
Previous: Johannes Schindelin via GitGitGadget
Message 2 of 2 in “test_detect_ref_format: fix comment”
  1. test_detect_ref_format: fix commentJohannes Schindelin via GitGitGadget, Dec 18, 2025
  2. Patrick SteinhardtDec 19, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.