aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/diff.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-23 17:13:15 +0800
committerJunio C Hamano <gitster@pobox.com>2022-03-23 11:38:41 -0700
commit9c4d58ff2c385f49585197c8650356955e1fa02e (patch)
tree6115609bb201da8a142845685ec3b82f2869e10e /builtin/diff.c
parentls-tree: detect and error on --name-only --name-status (diff)
downloadgit-9c4d58ff2c385f49585197c8650356955e1fa02e.tar.gz
git-9c4d58ff2c385f49585197c8650356955e1fa02e.zip
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 <avarab@gmail.com> Signed-off-by: Teng Long <dyroneteng@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions