{"thread":{"id":"1495","subject":"Re: git reveals a bug in (some versions) BSD diff","startedAt":"2005-08-13T10:42:06Z","lastAt":"2005-08-15T23:02:13Z","messageCount":2,"participants":["Brad Roberts","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7184","messageId":"Pine.LNX.4.44.0508130335300.2136-100000@bellevue.puremagic.com","threadId":"1495","inReplyTo":null,"subject":"Re: git reveals a bug in (some versions) BSD diff","fromName":"Brad Roberts","fromEmail":"braddr@puremagic.com","sentAt":"2005-08-13T10:42:06Z","receivedAt":"2005-08-13T10:42:06Z","isPatch":false,"sender":{"key":"braddr@puremagic.com","avatar":null},"body":"I'm seeing this on a standard os/x 10.3.9 install which seems to have an\nold, but still GNU based, diff.\n\n$ which diff\n/usr/bin/diff\n\n$ diff --version\ndiff - GNU diffutils version 2.7\n\n$ sh ./t4101-apply-nonl.sh\n*   ok 1: apply diff between 0 and 1\n*   ok 2: apply diff between 0 and 2\n*   ok 3: apply diff between 0 and 3\n*   ok 4: apply diff between 1 and 0\n*   ok 5: apply diff between 1 and 2\n*   ok 6: apply diff between 1 and 3\n*   ok 7: apply diff between 2 and 0\n*   ok 8: apply diff between 2 and 1\n* FAIL 9: apply diff between 2 and 3\n        git-apply <diff.2-3 && diff frotz.3 frotz\n*   ok 10: apply diff between 3 and 0\n*   ok 11: apply diff between 3 and 1\n* FAIL 12: apply diff between 3 and 2\n        git-apply <diff.3-2 && diff frotz.2 frotz\n* failed 2 among 12 test(s)\n\nFor what it's worth, this is the only test failing on this box (after the\napplication of the TZ patch I just sent).\n\nLater,\nBrad\n"},{"id":"7324","messageId":"Pine.LNX.4.63.0508160100100.26231@wgmdd8.biozentrum.uni-wuerzburg.de","threadId":"1495","inReplyTo":"Pine.LNX.4.44.0508130335300.2136-100000@bellevue.puremagic.com","subject":"Re: git reveals a bug in (some versions) BSD diff","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-08-15T23:02:13Z","receivedAt":"2005-08-15T23:02:13Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 13 Aug 2005, Brad Roberts wrote:\n\n> I'm seeing this on a standard os/x 10.3.9 install which seems to have an\n> old, but still GNU based, diff.\n> \n> $ which diff\n> /usr/bin/diff\n> \n> $ diff --version\n> diff - GNU diffutils version 2.7\n\nThat is exactly the same as with 10.2.8.\n\n> [...] \n> * FAIL 9: apply diff between 2 and 3\n>         git-apply <diff.2-3 && diff frotz.3 frotz\n> * FAIL 12: apply diff between 3 and 2\n>         git-apply <diff.3-2 && diff frotz.2 frotz\n\nYes, that is what I saw, too. Actually, I found the bug in diff-v2.7 \nannoying enough that I updated (just diff) to version 2.8.1. That works \nfine.\n\nCiao,\nDscho\n"}]}