projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
annotate: Convert all -| calls to use a helper open_pipe().
[git.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index
d01fc39
..
826ae7a
100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-268,7
+268,7
@@
static int write_ref_file(const char *filename,
char term = '\n';
if (write(fd, hex, 40) < 40 ||
write(fd, &term, 1) < 1) {
- error("Couldn't write %s
\n
", filename);
+ error("Couldn't write %s", filename);
close(fd);
return -1;
}