]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.h
Implement line-history search (git log -L)
[thirdparty/git.git] / revision.h
index 640110d73efcc8a98d2109a328ced67e055ed5a3..6b2870ca10d4b057453f39320ab7d67535b490cc 100644 (file)
@@ -96,7 +96,8 @@ struct rev_info {
                        cherry_mark:1,
                        bisect:1,
                        ancestry_path:1,
-                       first_parent_only:1;
+                       first_parent_only:1,
+                       line_level_traverse:1;
 
        /* Diff flags */
        unsigned int    diff:1,
@@ -175,6 +176,9 @@ struct rev_info {
        int count_left;
        int count_right;
        int count_same;
+
+       /* line level range that we are chasing */
+       struct decoration line_log_data;
 };
 
 #define REV_TREE_SAME          0