diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-09-10 17:03:04 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-10 17:03:04 +0900 |
commit | f04f860dfa80f9bb7f185fa9b6fecc73dbe902b4 (patch) | |
tree | 6ce9e667348eca4756241ff37d815c6d37e2b6ad /sha1_file.c | |
parent | 1a8a3286544a5ab54b6e360e420edb219f02d69a (diff) | |
parent | 2456990dfd93dee6d1906d774db112056534b57b (diff) | |
download | git-f04f860dfa80f9bb7f185fa9b6fecc73dbe902b4.tar.gz |
Merge branch 'sb/sha1-file-cleanup' into maint
Code clean-up.
* sb/sha1-file-cleanup:
sha1_file: make read_info_alternates static
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index 4c4a1f1ea3..4fa4b185f3 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -347,6 +347,7 @@ static int alt_odb_usable(struct strbuf *path, const char *normalized_objdir) * SHA1, an extra slash for the first level indirection, and the * terminating NUL. */ +static void read_info_alternates(const char * relative_base, int depth); static int link_alt_odb_entry(const char *entry, const char *relative_base, int depth, const char *normalized_objdir) { @@ -448,7 +449,7 @@ static void link_alt_odb_entries(const char *alt, int len, int sep, strbuf_release(&objdirbuf); } -void read_info_alternates(const char * relative_base, int depth) +static void read_info_alternates(const char * relative_base, int depth) { char *map; size_t mapsz; |