summaryrefslogtreecommitdiff
path: root/blame.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-08-13 16:14:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-13 21:14:44 (GMT)
commitecbbc0a53b0393c3b835440b397dedfa9d28ec01 (patch)
tree2f8af10ab44bd7225673abd3b197cd9a3fb5ac28 /blame.h
parent1b5c6c1e5309e8be24ad4958baa2553a003ee45e (diff)
downloadgit-ecbbc0a53b0393c3b835440b397dedfa9d28ec01.zip
git-ecbbc0a53b0393c3b835440b397dedfa9d28ec01.tar.gz
git-ecbbc0a53b0393c3b835440b397dedfa9d28ec01.tar.bz2
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 9b5240f..be3a895 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;