X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin%2Fsend-pack.c;h=e0b8030f2b31ee337bc2d2e0925788ec6cd92e0f;hb=29753cddc8007ac63754855d026fe5eca8897d04;hp=c1f6ddd927d61fbc2558ee3624224af405d918c3;hpb=8ab19bc5de68c8929317f8aa694709b9e4b72956;p=thirdparty%2Fgit.git diff --git a/builtin/send-pack.c b/builtin/send-pack.c index c1f6ddd927..e0b8030f2b 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -334,7 +334,7 @@ int send_pack(struct send_pack_args *args, demux.data = fd; demux.out = -1; if (start_async(&demux)) - die("receive-pack: unable to fork off sideband demultiplexer"); + die("send-pack: unable to fork off sideband demultiplexer"); in = demux.out; } @@ -509,7 +509,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix) flags |= MATCH_REFS_MIRROR; /* match them up */ - if (match_refs(local_refs, &remote_refs, nr_refspecs, refspecs, flags)) + if (match_push_refs(local_refs, &remote_refs, nr_refspecs, refspecs, flags)) return -1; set_ref_status_for_push(remote_refs, args.send_mirror,