summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-06-10 17:42:51 -0400
committerJunio C Hamano <gitster@pobox.com>2014-06-13 12:08:17 -0700
commit80cdaba569600154d91819d2e252f6b7dd9cff73 (patch)
tree73779fbdcd2c66ac0fde31efc93f772a127c7d1a /commit.c
parentbc6b8fc1300ef79c4b4c3c2a79bb3c1e2e032963 (diff)
downloadgit-80cdaba569600154d91819d2e252f6b7dd9cff73.tar.gz
commit-slab: provide a static initializer
Callers currently must use init_foo_slab() at runtime before accessing a slab. For global slabs, it's much nicer if we can initialize them in BSS, so that each user does not have to add code to check-and-initialize. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions