]> git.ipfire.org Git - thirdparty/git.git/blob - userdiff.h
fast-import: introduce "feature notes" command
[thirdparty/git.git] / userdiff.h
1 #ifndef USERDIFF_H
2 #define USERDIFF_H
3
4 struct userdiff_funcname {
5 const char *pattern;
6 int cflags;
7 };
8
9 struct userdiff_driver {
10 const char *name;
11 const char *external;
12 int binary;
13 struct userdiff_funcname funcname;
14 const char *word_regex;
15 const char *textconv;
16 };
17
18 int userdiff_config(const char *k, const char *v);
19 struct userdiff_driver *userdiff_find_by_name(const char *name);
20 struct userdiff_driver *userdiff_find_by_path(const char *path);
21
22 #endif /* USERDIFF */