]> git.ipfire.org Git - thirdparty/git.git/commit - oidset.h
oidset: uninline oidset_init()
authorRené Scharfe <l.s.r@web.de>
Thu, 4 Oct 2018 15:14:37 +0000 (17:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Oct 2018 18:12:14 +0000 (11:12 -0700)
commit8c84ae659e0e17d55f5ddc58bc79855ed7650e00
treedc8d88fd7755fe3706cecbcbcd71696491c4c471
parent8b2f8cbcb16b1a9775214fe1d69aeb1580ae179d
oidset: uninline oidset_init()

There is no need to inline oidset_init(), as it's typically only called
twice in the lifetime of an oidset (once at the beginning and at the end
by oidset_clear()) and kh_resize_* is quite big, so move its definition
to oidset.c.  Document it while we're at it.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
oidset.c
oidset.h