revision.c: use commit-slab for show_source
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 19 May 2018 05:28:24 +0000 (07:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 May 2018 05:07:20 +0000 (14:07 +0900)
commit87be252333bac84d425973627266dfa20511224d
tree86e6ab8cf5b0c81da90b2b443a81fb601d1bc669
parent3cc0287b394bf802af68d4fdb8c18e16318df907
revision.c: use commit-slab for show_source

Instead of relying on commit->util to store the source string, let the
user provide a commit-slab to store the source strings in.

It's done so that commit->util can be removed. See more explanation in
the commit that removes commit->util.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fast-export.c
builtin/log.c
log-tree.c
revision.c
revision.h