summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-03-02 15:07:20 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-02 15:07:20 -0800
commit58595e713c5b654cf01188d344014623a1b5ded5 (patch)
tree3c3a030deeebedce6dab773f0095154ff14b8386
parentMerge branch 'rs/micro-cleanups' (diff)
parentblame: provide type of fingerprints pointer (diff)
downloadtgif-58595e713c5b654cf01188d344014623a1b5ded5.tar.xz
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 4a9e1270b0..089b181ff2 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