blame: add a fingerprint heuristic to match ignored lines
[gitweb.git] / blame.h
diff --git a/blame.h b/blame.h
index 086b92915e4b86578688f49e7ebe05e577bc5edd..5dd877bb78fc068510753f7e967dea4be049f66d 100644 (file)
--- a/blame.h
+++ b/blame.h
@@ -51,6 +51,8 @@ struct blame_origin {
         */
        struct blame_entry *suspects;
        mmfile_t file;
+       int num_lines;
+       void *fingerprints;
        struct object_id blob_oid;
        unsigned mode;
        /* guilty gets set when shipping any suspects to the final
@@ -92,6 +94,8 @@ struct blame_entry {
         * scanning the lines over and over.
         */
        unsigned score;
+       int ignored;
+       int unblamable;
 };
 
 /*