X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=sha1_file.c;h=6dcae3882bf969cce9ae0a973a80abf76e3bb814;hb=d596118d7a9b104db10e64b2680a30ea80f1439c;hp=27f3b9b278a97f66f92ca61a2bc39e30f0a70317;hpb=aface4c3904de688ced9cecad4ac07bc3afeec8f;p=git.git diff --git a/sha1_file.c b/sha1_file.c index 27f3b9b27..6dcae3882 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2616,7 +2616,7 @@ static int index_mem(unsigned char *sha1, void *buf, size_t size, if ((type == OBJ_BLOB) && path) { struct strbuf nbuf = STRBUF_INIT; if (convert_to_git(path, buf, size, &nbuf, - write_object ? safe_crlf : 0)) { + write_object ? safe_crlf : SAFE_CRLF_FALSE)) { buf = strbuf_detach(&nbuf, &size); re_allocated = 1; }