summaryrefslogtreecommitdiff
path: root/shallow.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-22 06:22:23 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-22 06:22:23 (GMT)
commitf43117a6c134f3b7873983eae0df1cc14b270ff1 (patch)
treeeddfa9e4660e32c43bc22b1cc126d6c8443e5057 /shallow.c
parentec587fde0a76780931c7ac32474c8c000aa45134 (diff)
downloadgit-f43117a6c134f3b7873983eae0df1cc14b270ff1.zip
git-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.gz
git-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.bz2
is_repository_shallow(): prototype fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 3d53d17..d178689 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];