diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-12-03 03:32:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-03 04:38:49 +0100 |
commit | 93e5e048f84138a632b239632c9b45ae238cdf1c (patch) | |
tree | c36bf96685b1dee17310963333b7d6f2bb2e6db5 /gitweb/gitweb.perl | |
parent | refs: move ref name helpers around (diff) | |
download | git-93e5e048f84138a632b239632c9b45ae238cdf1c.tar.xz git-93e5e048f84138a632b239632c9b45ae238cdf1c.zip |
refs: drop strbuf_ prefix from helpers
The helper functions (strbuf_branchname, strbuf_check_branch_ref,
and strbuf_check_tag_ref) are about handling branch and tag names,
and it is a non-essential fact that these functions use strbuf to
hold these names. Rename them to make it clarify that these are
more about "ref".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index b09a8d0523..8cdb0d9b9f 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2094,7 +2094,7 @@ sub format_log_line_html { ( # The output of "git describe", e.g. v2.10.0-297-gf6727b0 # or hadoop-20160921-113441-20-g094fb7d - (?<!-) # see strbuf_check_tag_ref(). Tags can't start with - + (?<!-) # see check_tag_ref(). Tags can't start with - [A-Za-z0-9.-]+ (?!\.) # refs can't end with ".", see check_refname_format() -g$regex |