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

Re: t8001-annotate.sh fails on Mac OS X

From
Shawn Pearce <spearce@spearce.org>
Date
May 26, 2006, 01:11 UTC
Message-ID
<20060526011153.GA27720@spearce.org>
In-Reply-To
<f3d7535d0605251653m15db34f3j46403f4ed0c4c69f@mail.gmail.com>
Stefan Pfetzing <stefan.pfetzing@gmail.com> wrote:
Show 17 quoted lines
> Hi,
> 
> for some reason I could not yet figure out, t8001-annotate.sh fails at test 
> 18.
> 
> --- snip ---
> *   ok 17: some edit
> * expecting success: check_count A 1 B 1 B1 1 B2 1 "A U Thor" 1 C 1 D 1
> Author A (expected 1, attributed 1) good
> Author B1 (expected 1, attributed 1) good
> Author D (expected 1, attributed 2) bad
> Author A U Thor (expected 1, attributed 1) good
> Author B2 (expected 1, attributed 1) good
> Author B (expected 1, attributed 1) good
> * FAIL 18: some edit
>        check_count A 1 B 1 B1 1 B2 1 "A U Thor" 1 C 1 D 1
> * failed 1 among 18 test(s)

I've been seeing the same failed test case for a long time now on my own Mac OS X system. I think it has to do with the "git blame" vs. "git annotate" war which never really happened.

I think we had hoped that one of the two tools would prove to be _the_ annotation/blame tool and would get used but thus far that hasn't happened. Since they are two different implementations they also differ slightly over how they attribute a change across a merge, and in this case annotate is producing a different result from blame - but that different result isn't considered to be wrong so it hasn't been changed in annotate. Meanwhile the test has stayed broken as a reminder that these two generate different results.

-- 
Shawn.
Previous: Stefan PfetzingNext: Junio C Hamano
Message 2 of 9 in “t8001-annotate.sh fails on Mac OS X”
  1. Stefan PfetzingMay 25, 2006
  2. Shawn PearceMay 26, 2006
  3. Junio C HamanoMay 26, 2006
  4. Martin LanghoffMay 26, 2006
  5. Ryan AndersonMay 27, 2006
  6. Fredrik KuivinenMay 26, 2006
  7. Johannes SchindelinMay 26, 2006
  8. Stefan PfetzingMay 26, 2006
  9. Nicolas Vilz 'niv'May 27, 2006

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.