summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 05:49:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-12 05:50:06 (GMT)
commitffc00a48efe8f591a05f8e7b61f632bcaf098dde (patch)
tree7f45042103cf0de842143abb2d62f790f586dbbc /diff.h
parent385cb64ff3598451ac3019443b364f49b8395e82 (diff)
downloadgit-ffc00a48efe8f591a05f8e7b61f632bcaf098dde.zip
git-ffc00a48efe8f591a05f8e7b61f632bcaf098dde.tar.gz
git-ffc00a48efe8f591a05f8e7b61f632bcaf098dde.tar.bz2
diff-lib.c: remove the_repository references
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 'diff.h')
-rw-r--r--diff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index ce5e8a8..3197a97 100644
--- a/diff.h
+++ b/diff.h
@@ -436,7 +436,8 @@ int diff_result_code(struct diff_options *, int);
void diff_no_index(struct repository *, struct rev_info *, int, const char **);
-int index_differs_from(const char *def, const struct diff_flags *flags,
+int index_differs_from(struct repository *r, const char *def,
+ const struct diff_flags *flags,
int ita_invisible_in_index);
/*