summary refs log tree commit diff
path: root/blame.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-08-13 18:14:41 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-13 14:14:44 -0700
commitecbbc0a53b0393c3b835440b397dedfa9d28ec01 (patch)
tree2f8af10ab44bd7225673abd3b197cd9a3fb5ac28 /blame.h
parent1b5c6c1e5309e8be24ad4958baa2553a003ee45e (diff)
blame.c: remove implicit dependency on the_index
Side note, since we gain access to the right repository, we can stop
rely on the_repository in this code as well.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'blame.h')
-rw-r--r--blame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blame.h b/blame.h
index 9b5240fb6d..be3a895043 100644
--- a/blame.h
+++ b/blame.h
@@ -102,6 +102,7 @@ struct blame_scoreboard {
 	struct commit *final;
 	/* Priority queue for commits with unassigned blame records */
 	struct prio_queue commits;
+	struct repository *repo;
 	struct rev_info *revs;
 	const char *path;