Re: [PATCH v3 3/5] refactor(remote): rename query_refspecs functions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 4, 2025, 13:58 UTC
- Message-ID
- <xmqqwme5vmkw.fsf@gitster.g>
- In-Reply-To
- <CAPhwyn0-Hq5WHWvGzhqwafrJqmDic5+_S7hRxShk53d++hfw8A@mail.gmail.com>
Meet Soni <meetsoni3017@gmail.com> writes:
Show 14 quoted lines
>> So: >> >> - `query_refspecs()` would be renamed to `refspec_find_match()`. >> >> - `query_refspecs_multiple()` would be renamed to >> `refspec_find_all_matches()`. >> >> - `find_negative_refspec_match()` would be renamed to >> `refspec_find_negative_match()`. >> >> Patrick > > Thanks for the review. > Meet
Yup, using predictable names that follow patterns based on easy-to-follow rules is a very useful tool to help developers.
Thanks, both.