Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-26 05:42:37 +0300
committerJunio C Hamano <gitster@pobox.com>2017-04-14 13:53:25 +0300
commit7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4 (patch)
tree4c9b50cabd1e083a52208d19ad9b9f363e390e66 /refs.c
parent2f40e954723b861cb4a921d39d1ef0465410247e (diff)
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.c')
-rw-r--r--refs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/refs.c b/refs.c
index ca1d100551..bad05ba861 100644
--- a/refs.c
+++ b/refs.c
@@ -1602,11 +1602,6 @@ int refs_pack_refs(struct ref_store *refs, unsigned int flags)
return refs->be->pack_refs(refs, flags);
}
-int pack_refs(unsigned int flags)
-{
- return refs_pack_refs(get_main_ref_store(), flags);
-}
-
int refs_peel_ref(struct ref_store *refs, const char *refname,
unsigned char *sha1)
{