diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-11 13:44:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-11 13:44:07 -0800 |
commit | c985aaf87909ab7f8194b3cfed3a744cbff78fe9 (patch) | |
tree | 37416fd6c423c75204b505e7a71ca1812a3a1f29 /shallow.c | |
parent | cba07bb6ff58da5aa4538c4a2bbf70b717b172b3 (diff) | |
parent | 167832c2ca8e42572c0e8d329a78dbace2ecf2db (diff) | |
download | git-c985aaf87909ab7f8194b3cfed3a744cbff78fe9.tar.gz |
Merge branch 'jc/unused-symbols'
Mark file-local symbols as "static", and drop functions that nobody
uses.
* jc/unused-symbols:
shallow.c: make check_shallow_file_for_update() static
remote.c: make clear_cas_option() static
urlmatch.c: make match_urls() static
revision.c: make save_parents() and free_saved_parents() static
line-log.c: make line_log_data_init() static
pack-bitmap.c: make pack_bitmap_filename() static
prompt.c: remove git_getpass() nobody uses
http.c: make finish_active_slot() and handle_curl_result() static
Diffstat (limited to 'shallow.c')
-rw-r--r-- | shallow.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ struct commit_list *get_shallow_commits(struct object_array *heads, int depth, return result; } -void check_shallow_file_for_update(void) +static void check_shallow_file_for_update(void) { if (is_shallow == -1) die("BUG: shallow must be initialized by now"); |