X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=builtin-fetch-pack.c;h=e0c25615ef3078790da461156674815493b98879;hb=40c155f;hp=459c6f0da35ac0a4d6cc0a914f6aa905f8a94d42;hpb=277cd4c4bd8cca31395846fc80ea28bf2cd4ddf2;p=git.git diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c index 459c6f0da..e0c25615e 100644 --- a/builtin-fetch-pack.c +++ b/builtin-fetch-pack.c @@ -735,7 +735,7 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix) conn = git_connect(fd, (char *)dest, args.uploadpack, args.verbose ? CONNECT_VERBOSE : 0); if (conn) { - get_remote_heads(fd[0], &ref, 0, NULL, 0); + get_remote_heads(fd[0], &ref, 0, NULL, 0, NULL); ref = fetch_pack(&args, fd, conn, ref, dest, nr_heads, heads, NULL); close(fd[0]);