refs: correct the version numbers in a comment

The paragraph talks about a change made in c8f815c2 (refs: remove
functions without ref store, 2024-05-07), which is v2.46.0-rc0~119^2
and will be published as part of v2.46, not v2.45.

Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Christian Hesse 2024-07-16 11:55:44 +02:00 committed by Junio C Hamano
parent c8f815c208
commit 730914ed7e
1 changed files with 2 additions and 2 deletions

4
refs.h
View File

@ -1001,10 +1001,10 @@ int is_pseudoref(struct ref_store *refs, const char *refname);
int is_headref(struct ref_store *refs, const char *refname); int is_headref(struct ref_store *refs, const char *refname);


/* /*
* The following functions have been removed in Git v2.45 in favor of functions * The following functions have been removed in Git v2.46 in favor of functions
* that receive a `ref_store` as parameter. The intent of this section is * that receive a `ref_store` as parameter. The intent of this section is
* merely to help patch authors of in-flight series to have a reference what * merely to help patch authors of in-flight series to have a reference what
* they should be migrating to. The section will be removed in Git v2.46. * they should be migrating to. The section will be removed in Git v2.47.
*/ */
#if 0 #if 0
static char *resolve_refdup(const char *refname, int resolve_flags, static char *resolve_refdup(const char *refname, int resolve_flags,