X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=shallow.c;h=dbd9f5ad0ac21e70fc3a095d8e2938f245c238d3;hb=265ae188267fda441f92e513fb89641f78e982fd;hp=3d53d17423a73a1e206ee631c33ec7a88c40707a;hpb=1fcdd62adf81a172f45c7c6a58177212d500b9d9;p=git.git diff --git a/shallow.c b/shallow.c index 3d53d1742..dbd9f5ad0 100644 --- a/shallow.c +++ b/shallow.c @@ -17,7 +17,7 @@ int register_shallow(const unsigned char *sha1) return register_commit_graft(graft, 0); } -int is_repository_shallow() +int is_repository_shallow(void) { FILE *fp; char buf[1024]; @@ -101,4 +101,3 @@ struct commit_list *get_shallow_commits(struct object_array *heads, int depth, return result; } -