userdiff.c: remove implicit dependency on the_index
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index b88fccd2fb13b8bd7ae74d670b001ebb1980dc46..af261962240de8d1a1adfa62a8ff60b9d3ca0fd4 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -455,7 +455,8 @@ size_t fill_textconv(struct repository *r,
  * and only if it has textconv enabled (otherwise return NULL). The result
  * can be passed to fill_textconv().
  */
-struct userdiff_driver *get_textconv(struct diff_filespec *one);
+struct userdiff_driver *get_textconv(struct index_state *istate,
+                                    struct diff_filespec *one);
 
 /*
  * Prepare diff_filespec and convert it using diff textconv API