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

Re: git reveals a bug in (some versions) BSD diff

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 15, 2005, 23:02 UTC
Message-ID
<Pine.LNX.4.63.0508160100100.26231@wgmdd8.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.44.0508130335300.2136-100000@bellevue.puremagic.com>
Hi,
On Sat, 13 Aug 2005, Brad Roberts wrote:
Show 8 quoted lines
> I'm seeing this on a standard os/x 10.3.9 install which seems to have an
> old, but still GNU based, diff.
> 
> $ which diff
> /usr/bin/diff
> 
> $ diff --version
> diff - GNU diffutils version 2.7
That is exactly the same as with 10.2.8.
Show 5 quoted lines
> [...] 
> * FAIL 9: apply diff between 2 and 3
>         git-apply <diff.2-3 && diff frotz.3 frotz
> * FAIL 12: apply diff between 3 and 2
>         git-apply <diff.3-2 && diff frotz.2 frotz

Yes, that is what I saw, too. Actually, I found the bug in diff-v2.7 annoying enough that I updated (just diff) to version 2.8.1. That works fine.

Ciao, Dscho

Previous: Brad Roberts
Message 2 of 2 in “Re: git reveals a bug in (some versions) BSD diff”
  1. Brad RobertsAug 13, 2005
  2. Johannes SchindelinAug 15, 2005

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.