diff --git a/http-push.c b/http-push.c
index 5d01be93440cdb343379fe0b05ff9155727f125c..f856299254fb7d2cf120c423fdb25748357ef926 100644 (file)
--- a/http-push.c
+++ b/http-push.c
int new_refs;
struct ref *ref, *local_refs;
+ git_setup_gettext();
+
git_extract_argv0_path(argv[0]);
repo = xcalloc(sizeof(*repo), 1);
}
/* match them up */
- if (match_refs(local_refs, &remote_refs,
- nr_refspec, (const char **) refspec, push_all)) {
+ if (match_push_refs(local_refs, &remote_refs,
+ nr_refspec, (const char **) refspec, push_all)) {
rc = -1;
goto cleanup;
}