git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix http-push test

From
Mike Hommey <mh@glandium.org>
Date
Jul 7, 2008, 20:17 UTC
Message-ID
<20080707201720.GA1356@glandium.org>
In-Reply-To
<7vej6531xa.fsf@gitster.siamese.dyndns.org>
On Mon, Jul 07, 2008 at 12:54:41PM -0700, Junio C Hamano wrote:
Show 18 quoted lines
> Mike Hommey <mh@glandium.org> writes:
> 
> > On Mon, Jul 07, 2008 at 09:02:37PM +0200, Mike Hommey wrote:
> >> http-push test has been broken by 4a7aaccd adding a space character
> >> in the place where the test is being run.
> >> ---
> >> 
> >>  Note that the 4th test doesn't pass because of the new git clone, that
> >>  creates the clone with packed-refs instead of refs/heads/master that
> >>  push is requiring. But this also means push was already broken with
> >>  repositories with packed-refs.
> >
> > Actually, the 3rd is failing too, but fails to report an error because
> > git push returns no error code in cases where it says:
> >   No refs in common and none specified; doing nothing.
> 
> Ok, when you are done checking, care to send in a replacement patch with
> failing one marked with test_expect_failure?

Shouldn't that be two different patches ? One to fix the spaces problem and one to handle the fact that builtin-clone broke the tests ?

Mike
Previous: Junio C HamanoNext: Mike Hommey
Message 4 of 5 in “Fix http-push test”
  1. Fix http-push testMike Hommey, Jul 7, 2008
  2. Mike HommeyJul 7, 2008
  3. Junio C HamanoJul 7, 2008
  4. Mike HommeyJul 7, 2008
  5. Catch failures from t5540-http-pushMike Hommey, Jul 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.