diff options
author | Meet Soni <meetsoni3017@gmail.com> | 2025-02-04 09:35:56 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-04 09:51:41 -0800 |
commit | be0905fed1cdc9a2269f19569c518f00d54d2dbe (patch) | |
tree | 2d47f9613180e8faa08797bb82cdab9f508fdaa6 /contrib/examples/git-svnimport.perl | |
parent | 230d022fe3ba67465e867ac1fa4da3bcf0d31630 (diff) |
remote: rename query_refspecs functions
Rename functions related to handling refspecs in preparation for their
move from `remote.c` to `refspec.c`. Update their names to better
reflect their intent:
- `query_refspecs()` -> `refspec_find_match()` for clarity, as it
finds a single matching refspec.
- `query_refspecs_multiple()` -> `refspec_find_all_matches()` to
better reflect that it collects all matching refspecs instead of
returning just the first match.
- `query_matches_negative_refspec()` ->
`refspec_find_negative_match()` for consistency with the
updated naming convention, even though this static function
didn't strictly require renaming.
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-svnimport.perl')
0 files changed, 0 insertions, 0 deletions