/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use write_str_in_full helper to avoid literal string lengths
[git/git.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index
a6c6f70
..
fedbd5e
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;
}
}