]> git.99rst.org Git - git.git/commit
ls-tree: split up "fast path" callbacks
authorÆvar Arnfjörð Bjarmason <redacted>
Wed, 23 Mar 2022 09:13:15 +0000 (17:13 +0800)
committerJunio C Hamano <redacted>
Wed, 23 Mar 2022 18:38:41 +0000 (11:38 -0700)
commit9c4d58ff2c385f49585197c8650356955e1fa02e
tree6115609bb201da8a142845685ec3b82f2869e10e
parent0f8878359207191195867ebd499abba3710f9f4b
ls-tree: split up "fast path" callbacks

Make the various if/else in the callbacks for the "fast path" a lot
easier to read by just using common functions for the parts that are
common, and have per-format callbacks for those parts that are
different.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Teng Long <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/ls-tree.c
git clone https://git.99rst.org/PROJECT