X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fsend-pack.c;h=e0b8030f2b31ee337bc2d2e0925788ec6cd92e0f;hb=d75219b4a8a9c44520ddca234cde992498383b89;hp=c1f6ddd927d61fbc2558ee3624224af405d918c3;hpb=7af4d3468f79c39a75e59aa9699d43d1bbbfd1af;p=git.git diff --git a/builtin/send-pack.c b/builtin/send-pack.c index c1f6ddd92..e0b8030f2 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,