summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-06-28 18:22:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-29 10:43:40 -0700
commit95bb9d4c326695553b9d5499752e24959e833f82 (patch)
treef08b993b3d120eecf93aeb99f3f3e9d637689f69 /commit.h
parentcommit.c: allow parse_commit_buffer to handle arbitrary repositories (diff)
downloadtgif-95bb9d4c326695553b9d5499752e24959e833f82.tar.xz
commit-slabs: remove realloc counter outside of slab struct
The realloc counter is declared outside the struct for the given slabname, which makes it harder for a follow up patch to move the declaration of the struct around as then the counter variable would need special treatment. As the reallocation counter is currently unused we can just remove it. If we ever need to count the reallocations again, we can reintroduce the counter as part of 'struct slabname' in commit-slab-decl.h. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions