From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Daniel Barkalow <barkalow@iabervon.org>
Subject: Re: [PATCH 2/2] send-pack: tighten remote error reporting
Date: Sun, 18 Nov 2007 02:59:09 -0500 [thread overview]
Message-ID: <20071118075908.GA24972@sigill.intra.peff.net> (raw)
In-Reply-To: <20071118071651.GB18467@sigill.intra.peff.net>
On Sun, Nov 18, 2007 at 02:16:52AM -0500, Jeff King wrote:
> + print_ref_status('!', "[remote rejected]", ref,
> + ref->deletion ? ref->peer_ref : NULL,
> + ref->remote_status);
Gah, that should of course be:
ref->deletion ? NULL : ref->peer_ref
> + case REF_STATUS_EXPECTING_REPORT:
> + print_ref_status('!', "[remote failure]", ref,
> + ref->deletion ? ref->peer_ref : NULL,
> + "remote failed to report status");
And the same here.
I had resisted making a test that checked the exact output format,
because such things are often a pain to keep up to date. But that's two
regressions in patches I've submitted that would have been caught. Maybe
I should just pay more attention.
-Peff
next prev parent reply other threads:[~2007-11-18 7:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-18 5:58 [PATCH] send-pack: improve error reporting for total remote unpack Jeff King
2007-11-18 5:59 ` Jeff King
2007-11-18 7:09 ` Jeff King
2007-11-18 7:13 ` [PATCH 1/2] make "find_ref_by_name" a public function Jeff King
2007-11-18 7:16 ` [PATCH 2/2] send-pack: tighten remote error reporting Jeff King
2007-11-18 7:59 ` Jeff King [this message]
2007-11-18 8:08 ` [PATCH 3/2] send-pack: fix "everything up-to-date" message Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071118075908.GA24972@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).