aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-26 09:42:37 +0700
committerJunio C Hamano <gitster@pobox.com>2017-04-14 03:53:25 -0700
commit7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4 (patch)
tree4c9b50cabd1e083a52208d19ad9b9f363e390e66 /refs.h
parent2f40e954723b861cb4a921d39d1ef0465410247e (diff)
downloadgit-7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4.tar.gz
git-7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4.tar.xz
refs: delete pack_refs() in favor of refs_pack_refs()
It only has one caller, not worth keeping just for convenience. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/refs.h b/refs.h
index 37f4aa8bd..1a07f9d86 100644
--- a/refs.h
+++ b/refs.h
@@ -297,7 +297,6 @@ void warn_dangling_symrefs(FILE *fp, const char *msg_fmt,
* flags: Combination of the above PACK_REFS_* flags.
*/
int refs_pack_refs(struct ref_store *refs, unsigned int flags);
-int pack_refs(unsigned int flags);
/*
* Flags controlling ref_transaction_update(), ref_transaction_create(), etc.