mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-01 10:36:22 +00:00
Rename example function to avoid name collision.
This commit is contained in:
parent
7e02c7c56a
commit
383fb799ee
@ -32,7 +32,7 @@ static void *clone_thread(void *ptr)
|
||||
pthread_exit(&data->ret);
|
||||
}
|
||||
|
||||
int clone(git_repository *repo, int argc, char **argv)
|
||||
int do_clone(git_repository *repo, int argc, char **argv)
|
||||
{
|
||||
struct dl_data data = {0};
|
||||
pthread_t worker;
|
||||
|
@ -10,6 +10,6 @@ int parse_pkt_line(git_repository *repo, int argc, char **argv);
|
||||
int show_remote(git_repository *repo, int argc, char **argv);
|
||||
int fetch(git_repository *repo, int argc, char **argv);
|
||||
int index_pack(git_repository *repo, int argc, char **argv);
|
||||
int clone(git_repository *repo, int argc, char **argv);
|
||||
int do_clone(git_repository *repo, int argc, char **argv);
|
||||
|
||||
#endif /* __COMMON_H__ */
|
||||
|
@ -12,7 +12,7 @@ struct {
|
||||
} commands[] = {
|
||||
{"ls-remote", ls_remote},
|
||||
{"fetch", fetch},
|
||||
{"clone", clone},
|
||||
{"clone", do_clone},
|
||||
{"index-pack", index_pack},
|
||||
{ NULL, NULL}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user