diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-11-07 11:39:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-07 15:46:23 -0800 |
commit | 1442cedb7097b76ec0ec11e0d3a4093fa6e72645 (patch) | |
tree | ad7197db8fa0eb3b9ae2820b01de39e7bcec25da | |
parent | 474b775ca728c41dc89f88727c1d7d3b485a0e2e (diff) | |
download | git-1442cedb7097b76ec0ec11e0d3a4093fa6e72645.tar.gz |
refs.c: make repack_without_refs static
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | refs.c | 2 | ||||
-rw-r--r-- | refs.h | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -2668,7 +2668,7 @@ static int curate_packed_ref_fn(struct ref_entry *entry, void *cb_data) /* * Must be called with packed refs already locked (and sorted) */ -int repack_without_refs(struct string_list *without, struct strbuf *err) +static int repack_without_refs(struct string_list *without, struct strbuf *err) { struct ref_dir *packed; struct string_list refs_to_delete = STRING_LIST_INIT_DUP; @@ -163,9 +163,6 @@ extern void rollback_packed_refs(void); */ int pack_refs(unsigned int flags); -extern int repack_without_refs(struct string_list *without, - struct strbuf *err); - extern int ref_exists(const char *); extern int is_branch(const char *refname); |