Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clone: replace strcmp by fspathcmp
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index a4ce801a67c54cf3ca8afa63807e8c1ff009ab26..62b6a0a352e8f42b83c03b4a3bd4f445ce280e8a 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-441,7
+441,7
@@
static void copy_or_link_directory(struct strbuf *src, struct strbuf *dest,
}
/* Files that cannot be copied bit-for-bit... */
- if (!
str
cmp(iter->relative_path, "info/alternates")) {
+ if (!
fspath
cmp(iter->relative_path, "info/alternates")) {
copy_alternates(src, src_repo);
continue;
}