aboutsummaryrefslogtreecommitdiffstats
path: root/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert.c')
-rw-r--r--convert.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/convert.c b/convert.c
index 9b67649032..da06e2f51c 100644
--- a/convert.c
+++ b/convert.c
@@ -1,5 +1,7 @@
#include "cache.h"
#include "config.h"
+#include "gettext.h"
+#include "hex.h"
#include "object-store.h"
#include "attr.h"
#include "run-command.h"
@@ -9,6 +11,7 @@
#include "sub-process.h"
#include "utf8.h"
#include "ll-merge.h"
+#include "wrapper.h"
/*
* convert.c - convert a file when checking it out and checking it in.
@@ -1308,7 +1311,7 @@ void convert_attrs(struct index_state *istate,
git_config(read_convert_config, NULL);
}
- git_check_attr(istate, path, check);
+ git_check_attr(istate, NULL, path, check);
ccheck = check->items;
ca->crlf_action = git_path_check_crlf(ccheck + 4);
if (ca->crlf_action == CRLF_UNDEFINED)