summaryrefslogtreecommitdiff
path: root/builtin/pack-refs.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-26 02:42:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-14 10:53:25 (GMT)
commit7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4 (patch)
tree4c9b50cabd1e083a52208d19ad9b9f363e390e66 /builtin/pack-refs.c
parent2f40e954723b861cb4a921d39d1ef0465410247e (diff)
downloadgit-7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4.zip
git-7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4.tar.gz
git-7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4.tar.bz2
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 'builtin/pack-refs.c')
-rw-r--r--builtin/pack-refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-refs.c b/builtin/pack-refs.c
index 39f9a55..b106a39 100644
--- a/builtin/pack-refs.c
+++ b/builtin/pack-refs.c
@@ -17,5 +17,5 @@ int cmd_pack_refs(int argc, const char **argv, const char *prefix)
};
if (parse_options(argc, argv, prefix, opts, pack_refs_usage, 0))
usage_with_options(pack_refs_usage, opts);
- return pack_refs(flags);
+ return refs_pack_refs(get_main_ref_store(), flags);
}