status: show more info than "currently not on any branch"
[gitweb.git] / commit.h
index 7f8f9878d8e10a425da3241f75655cc1213debe1..95b8350a5b5109bf2d8a1e60fa4d8065501a031d 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -90,6 +90,7 @@ struct pretty_print_context {
        struct reflog_walk_info *reflog_info;
        const char *output_encoding;
        struct string_list *mailmap;
+       int color;
 };
 
 struct userformat_want {
@@ -162,6 +163,9 @@ extern struct commit_list *get_merge_bases(struct commit *rev1, struct commit *r
 extern struct commit_list *get_merge_bases_many(struct commit *one, int n, struct commit **twos, int cleanup);
 extern struct commit_list *get_octopus_merge_bases(struct commit_list *in);
 
+/* largest postive number a signed 32-bit integer can contain */
+#define INFINITE_DEPTH 0x7fffffff
+
 extern int register_shallow(const unsigned char *sha1);
 extern int unregister_shallow(const unsigned char *sha1);
 extern int for_each_commit_graft(each_commit_graft_fn, void *);