]> git.ipfire.org Git - thirdparty/git.git/commit
refspec: replace `refspec_item_init()` with fetch/push variants
authorTaylor Blau <me@ttaylorr.com>
Tue, 18 Mar 2025 22:50:27 +0000 (18:50 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Mar 2025 08:45:16 +0000 (01:45 -0700)
commit459e54b5497b53f298fe9164112f9bcb33bedb8d
tree298147dd9214e0ab90606c3ebbc7b06c02ff2050
parentec6829e4849feb7b0343940e00896055027b06eb
refspec: replace `refspec_item_init()` with fetch/push variants

For similar reasons as in the previous refactoring of `refspec_init()`
into `refspec_init_fetch()` and `refspec_init_push()`, apply the same
refactoring to `refspec_item_init()`.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Acked-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
builtin/pull.c
refspec.c
refspec.h