]> git.ipfire.org Git - thirdparty/git.git/commit
apply: reorder functions to move image-related things together
authorPatrick Steinhardt <ps@pks.im>
Tue, 17 Sep 2024 10:07:52 +0000 (12:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Sep 2024 20:53:29 +0000 (13:53 -0700)
commit1f2df6f9a56118c282f09f263962acba55080c28
tree656a66c3423f01f8359185fcb8d7a5a4ee06b6be
parented155187b429a2a6b6475efe1767053df37ccfe1
apply: reorder functions to move image-related things together

While most of the functions relating to `struct image` are relatively
close to one another, `fuzzy_matchlines()` sits in between those even
though it is rather unrelated.

Reorder functions such that `struct image`-related functions are next to
each other. While at it, move `clear_image()` to the top such that it is
close to the struct definition itself. This makes this lifecycle-related
thing easy to discover.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
apply.c