Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch: Speed up fetch of large numbers of refs
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index a6c6f70a9237385d163ea12ef28e5087e9f80411..fedbd5e5267ec4beaf1f245a879918a2685c10b9 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-212,7
+212,7
@@
int write_shallow_commits(int fd, int use_pack_protocol)
else {
if (write_in_full(fd, hex, 40) != 40)
break;
- if (write_
in_full(fd, "\n", 1
) != 1)
+ if (write_
str_in_full(fd, "\n"
) != 1)
break;
}
}