aboutsummaryrefslogtreecommitdiff
path: root/shallow.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-14 15:01:27 -0800
committerJunio C Hamano <gitster@pobox.com>2015-01-15 11:05:48 -0800
commit167832c2ca8e42572c0e8d329a78dbace2ecf2db (patch)
tree700baed1a1994b2524fcc3a283d046f7a987a600 /shallow.c
parenta355b11daba73f8a73866a318d5eb8550285332b (diff)
downloadgit-167832c2ca8e42572c0e8d329a78dbace2ecf2db.tar.gz
git-167832c2ca8e42572c0e8d329a78dbace2ecf2db.tar.xz
shallow.c: make check_shallow_file_for_update() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shallow.c')
-rw-r--r--shallow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shallow.c b/shallow.c
index cdd077514..04ea816e0 100644
--- a/shallow.c
+++ b/shallow.c
@@ -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");