{"thread":{"id":"1881","subject":"cg-diff still broken on some BSDs","startedAt":"2005-09-20T04:15:28Z","lastAt":"2005-09-20T19:36:06Z","messageCount":2,"participants":["Martin Langhoff","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"8964","messageId":"46a038f905091921154a70123f@mail.gmail.com","threadId":"1881","inReplyTo":null,"subject":"cg-diff still broken on some BSDs","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-09-20T04:15:28Z","receivedAt":"2005-09-20T04:15:28Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Petr,\n\nWe still have a bug in cg-diff when using the BSD xargs. I posted a\nfix, and Junio posted an alternative approach. The original patches\nare here http://marc.theaimsgroup.com/?l=git&m=112541165904627&w=2\n\nFor some strange reason, it is not showing up on my OSX box, but it is\ndefinitely reproduceable in a proper FreeBSD box.\n\nI am happy to rebase my patch (or Junio's) against current cogito if\nneeded, but I rather do only one of them ;)\n\ncheers,\n\n\nmartin\n"},{"id":"9011","messageId":"20050920193606.GD28621@pasky.or.cz","threadId":"1881","inReplyTo":"46a038f905091921154a70123f@mail.gmail.com","subject":"Re: [PATCH] cg-diff fixed to work with BSD xargs","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-09-20T19:36:06Z","receivedAt":"2005-09-20T19:36:06Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Tue, Aug 30, 2005 at 12:00:10PM CEST, I got a letter\nwhere Martin Langhoff <martin@catalyst.net.nz> told me that...\n> Calls to cg-diff without filename parameters were dependent on GNU xargs\n> traits. BSD xargs is hardcoded to do --no-run-if-empty -- so if the filter\n> is effectively empty we avoid calling xargs.\n> \n> Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>\n\nThanks, I've applied it and also fixed the second git-diff-tree usage.\n\nDear diary, on Tue, Sep 20, 2005 at 06:15:28AM CEST, I got a letter\nwhere Martin Langhoff <martin.langhoff@gmail.com> told me that...\n> We still have a bug in cg-diff when using the BSD xargs. I posted a\n> fix, and Junio posted an alternative approach. The original patches\n> are here http://marc.theaimsgroup.com/?l=git&m=112541165904627&w=2\n\nLooks like I've overlooked it in my fast Cogito patch scan. There are\nstill parts of mailing list history in late August and early September\nthat I didn't read.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nVI has two modes: the one in which it beeps and the one in which\nit doesn't.\n"}]}