t1005: add test for "read-tree --reset -u A B"
[gitweb.git] / builtin / cat-file.c
index 07bd984084fbbfbb826ef5b784fc68069675e73c..72205faeafcaf91bc75a1d79bd72eecd4e3a6edb 100644 (file)
@@ -143,7 +143,7 @@ static int cat_one_file(int opt, const char *exp_type, const char *obj_name)
                        die("git cat-file --textconv %s: <object> must be <sha1:path>",
                            obj_name);
 
-               if (!textconv_object(obj_context.path, obj_context.mode, sha1, &buf, &size))
+               if (!textconv_object(obj_context.path, obj_context.mode, sha1, 1, &buf, &size))
                        die("git cat-file --textconv: unable to run textconv on %s",
                            obj_name);
                break;