X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=f856299254fb7d2cf120c423fdb25748357ef926;hb=5e9637c629702e3d41ad01d95956d1835d7338e0;hp=5d01be93440cdb343379fe0b05ff9155727f125c;hpb=abe277301996d4b30f2c8f48cf92dcf677af783d;p=git.git diff --git a/http-push.c b/http-push.c index 5d01be934..f85629925 100644 --- a/http-push.c +++ b/http-push.c @@ -1748,6 +1748,8 @@ int main(int argc, char **argv) int new_refs; struct ref *ref, *local_refs; + git_setup_gettext(); + git_extract_argv0_path(argv[0]); repo = xcalloc(sizeof(*repo), 1); @@ -1869,8 +1871,8 @@ int main(int argc, char **argv) } /* 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; }