]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs: remove some functions from the module's public interface
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 22 Jun 2015 14:03:02 +0000 (16:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2015 20:17:11 +0000 (13:17 -0700)
commit0a4b24ff146405fb636d74945c0fdf1afaef3fd6
treed900e824650f35b424236c86ca10bf0e85e42417
parent58f233ce1ed67bbc31a429fde5c65d5050fdbd7d
refs: remove some functions from the module's public interface

The following functions are no longer used from outside the refs
module:

* lock_packed_refs()
* add_packed_ref()
* commit_packed_refs()
* rollback_packed_refs()

So make these functions private.

This is an important step, because it means that nobody outside of the
refs module needs to know the difference between loose and packed
references.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h