From: Junio C Hamano Date: Fri, 20 Jan 2012 06:00:21 GMT Subject: Re: [PATCH] remote-curl: Fix push status report when all branches fail Message-ID: <7vobtyhq16.fsf@alter.siamese.dyndns.org> In-Reply-To: <1327029129-11424-1-git-send-email-spearce@spearce.org> "Shawn O. Pearce" writes: > diff --git a/t/t5541-http-push.sh b/t/t5541-http-push.sh > index 9b85d42..4723930 100755 > --- a/t/t5541-http-push.sh > +++ b/t/t5541-http-push.sh > @@ -95,6 +95,31 @@ test_expect_success 'create and delete remote branch' ' > test_must_fail git show-ref --verify refs/remotes/origin/dev > ' > > +cat >"$HTTPD_DOCUMENT_ROOT_PATH/test_repo.git/hooks/update" < +#!/bin/sh > +exit 1 > +EOF > +chmod a+x "$HTTPD_DOCUMENT_ROOT_PATH/test_repo.git/hooks/update" > + > +cat >exp < +remote: error: hook declined to update refs/heads/dev2 Curious. Where do we get these eight trailing whitespaces? The call to rp_error("hook declined to update %s", name) seems to be giving the name properly.