diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-09-16 06:20:05 +0400 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-02 08:41:42 +0400 |
commit | d31402a3fc4aa1b7d48ba43fd3bb072e7d69a527 (patch) | |
tree | cc8eb1e1801c98c25349951d6cd3667d94d9ea19 /src/clone.c | |
parent | 71e33d2649f990086237a6cd0fdb7f7d6f742b51 (diff) |
remote: put the _download() callback with the others
The text progress and update_tips callbacks are already part of the
struct, which was meant to unify the callback setup, but the download
one was left out.
Diffstat (limited to 'src/clone.c')
-rw-r--r-- | src/clone.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clone.c b/src/clone.c index ff251be1b..90d677bbb 100644 --- a/src/clone.c +++ b/src/clone.c @@ -380,8 +380,7 @@ static int setup_remotes_and_fetch( if ((retcode = git_remote_connect(origin, GIT_DIRECTION_FETCH)) < 0) goto on_error; - if ((retcode = git_remote_download(origin, options->fetch_progress_cb, - options->fetch_progress_payload)) < 0) + if ((retcode = git_remote_download(origin)) < 0) goto on_error; /* Create "origin/foo" branches for all remote branches */ |