diff options
author | Meet Soni <meetsoni3017@gmail.com> | 2025-02-04 09:35:54 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-04 09:51:41 -0800 |
commit | e4f6ab008522c5ad386485720770b8d03b4fb880 (patch) | |
tree | 41fb6d79a214b25bd4e7a086de4f186869c2e13e /gitweb/static/js/lib/common-lib.js | |
parent | 5f8f7081f7761acdf83d0a4c6819fe3d724f01d7 (diff) |
remote: rename function omit_name_by_refspec
Rename the function `omit_name_by_refspec()` to
`refname_matches_negative_refspec_item()` to provide clearer intent.
The previous function name was vague and did not accurately describe its
purpose. By using `refname_matches_negative_refspec_item`, make the
function's purpose more intuitive, clarifying that it checks if a
reference name matches any negative refspec.
Rename function parameters for consistency with existing naming
conventions. Use `refname` instead of `name` to align with terminology
in `refs.h`.
Remove the redundant doc comment since the function name is now
self-explanatory.
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/lib/common-lib.js')
0 files changed, 0 insertions, 0 deletions