summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-01-21 22:22:23 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-21 22:22:23 -0800
commitf43117a6c134f3b7873983eae0df1cc14b270ff1 (patch)
treeeddfa9e4660e32c43bc22b1cc126d6c8443e5057 /commit.h
parentMake sure git_connect() always give two file descriptors. (diff)
downloadtgif-f43117a6c134f3b7873983eae0df1cc14b270ff1.tar.xz
is_repository_shallow(): prototype fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 936f8fce30..491b0c4aac 100644
--- a/commit.h
+++ b/commit.h
@@ -110,7 +110,7 @@ extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *r
extern int register_shallow(const unsigned char *sha1);
extern int unregister_shallow(const unsigned char *sha1);
extern int write_shallow_commits(int fd, int use_pack_protocol);
-extern int is_repository_shallow();
+extern int is_repository_shallow(void);
extern struct commit_list *get_shallow_commits(struct object_array *heads,
int depth, int shallow_flag, int not_shallow_flag);