diff --git a/builtin-push.c b/builtin-push.c
index 3151fb790d26f3f4f6b29015f1410c68b598fce6..d23974e708cb744f75efbb9f1acbf37606e92b05 100644 (file)
--- a/builtin-push.c
+++ b/builtin-push.c
refspec_nr = nr;
}
-static int expand_one_ref(const char *ref, const unsigned char *sha1)
+static int expand_one_ref(const char *ref, const unsigned char *sha1, int flag, void *cb_data)
{
/* Ignore the "refs/" at the beginning of the refname */
ref += 5;
}
if (!tags)
return;
- for_each_ref(expand_one_ref);
+ for_each_ref(expand_one_ref, NULL);
}
static void set_refspecs(const char **refs, int nr)