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

Re: [StGit PATCH] Remove broken branch creation subtest

From
Karl Hasselström <kha@treskal.com>
Date
Apr 13, 2008, 06:02 UTC
Message-ID
<20080413060223.GA27382@diana.vm.bytemark.co.uk>
In-Reply-To
<7vabjzhrsa.fsf@gitster.siamese.dyndns.org>
On 2008-04-12 11:06:13 -0700, Junio C Hamano wrote:
Show 13 quoted lines
> You got me worried here.
>
>  * "git show-ref" issues "error: refs/heads/foo points nowhere!" in all
>    cases, which is not bad.
>
>  * broken foo does not prevent "git show-ref" (no patterns) from carrying
>    out its primary task.  It goes on showing others.  There is no bad here
>    either.
>
>  * "git show-ref refs/heads/foo" errors out with 1, which is Ok.
>
>  * "git show-ref master" shows all the ones ending with "master", exits
>    with 0, which is Ok.

Sorry for making you all worried, when I could have tested this behavior myself and saved you the trouble ...

> It may be worth fixing the test than working it around, if only
> cleaning up is the issue.

Yes, that does seem more constructive. Will try to whip up a replacement patch later today.

Thanks for the review.
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Junio C HamanoNext: Karl Hasselström
Message 3 of 4 in “Remove broken branch creation subtest”
  1. Remove broken branch creation subtestKarl Hasselström, Apr 12, 2008
  2. Junio C HamanoApr 12, 2008
  3. Karl HasselströmApr 13, 2008
  4. Fix problems in t1000-branch-createKarl Hasselström, Apr 13, 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.