commit-graph: add missing forward declaration
authorJonathan Tan <jonathantanmy@google.com>
Wed, 11 Jul 2018 22:42:39 +0000 (15:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jul 2018 22:47:48 +0000 (15:47 -0700)
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.h
index 506cb45fb1178256b2d6c9752c28e300fc0791b2..674052bef49c08a14dedb8b5ba69e1a174f34b1f 100644 (file)
@@ -5,6 +5,8 @@
 #include "repository.h"
 #include "string-list.h"
 
+struct commit;
+
 char *get_commit_graph_filename(const char *obj_dir);
 
 /*