upload-pack: optionally allow fetching reachable sha1
[gitweb.git] / shallow.c
index f5e67204a4084ff79beec0d5a5dd0fb06966cc3f..d8bf40ad4bed3bc846bb71945f1c2bfce76a202d 100644 (file)
--- 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");