]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.h
revision walker: Fix --boundary when limited
[thirdparty/git.git] / revision.h
index 5fec1846f366f1aadabc6f57edcfd17828afa8ee..6579a446ea8bfc7a3e8b0f19a39013458c6b537b 100644 (file)
@@ -10,6 +10,7 @@
 #define BOUNDARY_SHOW  (1u<<6)
 #define ADDED          (1u<<7) /* Parents already parsed and added? */
 #define SYMMETRIC_LEFT (1u<<8)
+#define CHILD_SHOWN    (1u<<9)
 
 struct rev_info;
 struct log_info;
@@ -21,6 +22,9 @@ struct rev_info {
        struct commit_list *commits;
        struct object_array pending;
 
+       /* Parents of shown commits */
+       struct object_array boundary_commits;
+
        /* Basic information */
        const char *prefix;
        void *prune_data;
@@ -40,10 +44,10 @@ struct rev_info {
                        edge_hint:1,
                        limited:1,
                        unpacked:1, /* see also ignore_packed below */
-                       boundary:1,
+                       boundary:2,
                        left_right:1,
                        parents:1,
-                       reverse:2;
+                       reverse:1;
 
        /* Diff flags */
        unsigned int    diff:1,