X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=sha1_file.c;h=956422ba4a5df5f46caaf85f10e4c85321439272;hb=2ce0edcd786b790fed580e7df56291619834d276;hp=833f5b9b5820ce60f9fb99f6c9bcdb313ae8fca9;hpb=ea4f9685cb432caf357ad8af56a91877b6d04663;p=git.git diff --git a/sha1_file.c b/sha1_file.c index 833f5b9b5..956422ba4 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2617,7 +2617,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; }