diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-09-04 18:08:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-10 00:28:13 +0200 |
commit | 8231527e1510127a5611a2e2f9660e6aef1c981e (patch) | |
tree | 89fff9022bab94959c0b09ae7597f4a6e3241df4 /refs.c | |
parent | refs: make verify_refname_available() virtual (diff) | |
download | git-8231527e1510127a5611a2e2f9660e6aef1c981e.tar.xz git-8231527e1510127a5611a2e2f9660e6aef1c981e.zip |
refs: make pack_refs() virtual
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1421,6 +1421,13 @@ void assert_main_repository(struct ref_store *refs, const char *caller) } /* backend functions */ +int pack_refs(unsigned int flags) +{ + struct ref_store *refs = get_ref_store(NULL); + + return refs->be->pack_refs(refs, flags); +} + int ref_transaction_commit(struct ref_transaction *transaction, struct strbuf *err) { |