Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-fetch: move more code into C.
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index 0d4bf80e74b16aa089acd06c24ad1b1a039e65b5..8ad7fad825708b5a56a3bfd4b8b98708de0bb2dc 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-2091,6
+2091,7
@@
int index_fd(unsigned char *sha1, int fd, struct stat *st, int write_object, con
if (!type)
type = blob_type;
+ /* FIXME: CRLF -> LF conversion here for blobs! We'll need the path! */
if (write_object)
ret = write_sha1_file(buf, size, type, sha1);
else