summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-02 23:07:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-02 23:07:20 (GMT)
commit58595e713c5b654cf01188d344014623a1b5ded5 (patch)
tree3c3a030deeebedce6dab773f0095154ff14b8386
parentff41848e999fe89600ac0b669b59ad580401f451 (diff)
parent27f182b3fc05946ba4f504fc5517252a4b3e9f79 (diff)
downloadgit-58595e713c5b654cf01188d344014623a1b5ded5.zip
git-58595e713c5b654cf01188d344014623a1b5ded5.tar.gz
git-58595e713c5b654cf01188d344014623a1b5ded5.tar.bz2
Merge branch 'rs/blame-typefix-for-fingerprint'
Code cleanup. * rs/blame-typefix-for-fingerprint: blame: provide type of fingerprints pointer
-rw-r--r--blame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/blame.h b/blame.h
index 4a9e127..089b181 100644
--- a/blame.h
+++ b/blame.h
@@ -16,6 +16,8 @@
#define BLAME_DEFAULT_MOVE_SCORE 20
#define BLAME_DEFAULT_COPY_SCORE 40
+struct fingerprint;
+
/*
* One blob in a commit that is being suspected
*/
@@ -52,7 +54,7 @@ struct blame_origin {
struct blame_entry *suspects;
mmfile_t file;
int num_lines;
- void *fingerprints;
+ struct fingerprint *fingerprints;
struct object_id blob_oid;
unsigned short mode;
/* guilty gets set when shipping any suspects to the final