/
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
Merge branch 'jk/unused-params-final-batch'
[git/git.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index
85b0d31
..
e323186
100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-354,8
+354,7
@@
static void setup_reference(void)
add_one_reference, &required);
}
add_one_reference, &required);
}
-static void copy_alternates(struct strbuf *src, struct strbuf *dst,
- const char *src_repo)
+static void copy_alternates(struct strbuf *src, const char *src_repo)
{
/*
* Read from the source objects/info/alternates file
{
/*
* Read from the source objects/info/alternates file
@@
-436,7
+435,7
@@
static void copy_or_link_directory(struct strbuf *src, struct strbuf *dest,
/* Files that cannot be copied bit-for-bit... */
if (!strcmp(src->buf + src_baselen, "/info/alternates")) {
/* Files that cannot be copied bit-for-bit... */
if (!strcmp(src->buf + src_baselen, "/info/alternates")) {
- copy_alternates(src,
dest,
src_repo);
+ copy_alternates(src, src_repo);
continue;
}
continue;
}