summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-09-21 15:57:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-21 16:48:10 (GMT)
commit6afaf807859bd671a3f8e9101952e648a1a5e1a9 (patch)
treea952ca9617248345985fb272781b612a9690f7ba /grep.c
parenta470beea39b91a0604aed9b99184df45c1d962d1 (diff)
downloadgit-6afaf807859bd671a3f8e9101952e648a1a5e1a9.zip
git-6afaf807859bd671a3f8e9101952e648a1a5e1a9.tar.gz
git-6afaf807859bd671a3f8e9101952e648a1a5e1a9.tar.bz2
diff.c: remove the_index dependency in textconv() functions
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 'grep.c')
-rw-r--r--grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grep.c b/grep.c
index 2b26cee..e146ff2 100644
--- a/grep.c
+++ b/grep.c
@@ -1741,7 +1741,7 @@ static int fill_textconv_grep(struct userdiff_driver *driver,
* structure.
*/
grep_read_lock();
- size = fill_textconv(driver, df, &buf);
+ size = fill_textconv(the_repository, driver, df, &buf);
grep_read_unlock();
free_filespec(df);