Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'lv/add-doc-working-tree'
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index a7c8def8cb7199e82acad9e94bb01d93ba4ef0fb..bcba0805e1c9c5691c2e876f9748a2cf492b1c70 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-339,7
+339,7
@@
static void copy_alternates(struct strbuf *src, struct strbuf *dst,
FILE *in = fopen(src->buf, "r");
struct strbuf line = STRBUF_INIT;
- while (strbuf_getline(&line, in
, '\n'
) != EOF) {
+ while (strbuf_getline(&line, in) != EOF) {
char *abs_path;
if (!line.len || line.buf[0] == '#')
continue;