]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
move odb_* declarations out of git-compat-util.h
authorJeff King <peff@peff.net>
Thu, 16 Mar 2017 14:27:00 +0000 (10:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 18:04:34 +0000 (11:04 -0700)
commit82c9d6614bcd80bc2b6646f3943971fa0ec20135
tree084ea5e00931917f4ff77d1965b09cd563f06665
parente7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7
move odb_* declarations out of git-compat-util.h

These functions were originally conceived as wrapper
functions similar to xmkstemp(). They were later moved by
463db9b10 (wrapper: move odb_* to environment.c,
2010-11-06). The more appropriate place for a declaration is
in cache.h.

While we're at it, let's add some basic docstrings.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
git-compat-util.h