{"thread":{"id":"339","subject":"[PATCH] cg-mkpatch: Show diffstat before the patch","startedAt":"2005-04-26T22:58:55Z","lastAt":"2005-04-28T00:16:42Z","messageCount":4,"participants":["Jonas Fonseca","Petr Baudis","YOSHIFUJI Hideaki / 吉藤英明"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"1822","messageId":"20050426225855.GA28560@diku.dk","threadId":"339","inReplyTo":null,"subject":"[PATCH] cg-mkpatch: Show diffstat before the patch","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2005-04-26T22:58:55Z","receivedAt":"2005-04-26T22:58:55Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Show diffstat before the patch.\n\nSigned-off-by: Jonas Fonseca <fonseca@diku.dk>\n\n---\ncommit a738ed98e4557877f8bcd3b992aa55579b22b9d1\ntree 2447d3a399200c8f736344822969f88f675612dd\nparent ed095b1a965517f1674b812a9978c60eb907e192\nauthor Jonas Fonseca <fonseca@diku.dk> 1114554627 +0200\ncommitter Jonas Fonseca <fonseca@diku.dk> 1114554627 +0200\n\n cg-mkpatch |    5 ++++-\n 1 files changed, 4 insertions(+), 1 deletion(-)\n\nIndex: cg-mkpatch\n===================================================================\n--- 6159f313b10f0cfcdfedd63d6fb044029fe46aaa/cg-mkpatch  (mode:100755 sha1:5ba423cbbb3e5f72cd7fb74f2873d49b60557f12)\n+++ 2447d3a399200c8f736344822969f88f675612dd/cg-mkpatch  (mode:100755 sha1:25c67a29296730daeac00e43fd4c18cf914a1c87)\n@@ -23,7 +23,10 @@\n \t\techo $line >>$header\n \tdone\n \techo\n-\tcg-diff -p -r $id\n+\tcg-diff -p -r $id > $header\n+\tcat $header | diffstat\n+\techo\n+\tcat $header\n \trm $header\n }\n \n\n\n-- \nJonas Fonseca\n"},{"id":"1939","messageId":"20050427235539.GO22956@pasky.ji.cz","threadId":"339","inReplyTo":"20050426225855.GA28560@diku.dk","subject":"Re: [PATCH] cg-mkpatch: Show diffstat before the patch","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-04-27T23:55:39Z","receivedAt":"2005-04-27T23:55:39Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Wed, Apr 27, 2005 at 12:58:55AM CEST, I got a letter\nwhere Jonas Fonseca <fonseca@diku.dk> told me that...\n> Show diffstat before the patch.\n> \n> Signed-off-by: Jonas Fonseca <fonseca@diku.dk>\n\nI think you should first check by which(1) or something whether you have\ndiffstat. Piling up dependencies like this is pretty annoying.\n\nThanks,\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"},{"id":"1941","messageId":"20050428.090702.23236031.yoshfuji@linux-ipv6.org","threadId":"339","inReplyTo":"20050426225855.GA28560@diku.dk","subject":"Re: [PATCH] cg-mkpatch: Show diffstat before the patch","fromName":"YOSHIFUJI Hideaki / 吉藤英明","fromEmail":"yoshfuji@linux-ipv6.org","sentAt":"2005-04-28T00:07:02Z","receivedAt":"2005-04-28T00:07:02Z","isPatch":true,"sender":{"key":"yoshfuji@linux-ipv6.org","avatar":"https://gravatar.com/avatar/92c288bb8d3e34afd7bb1574cc1079a3d0aa6d36d80955d1ec6a1cea2868d392?d=mp&s=160"},"body":"In article <20050426225855.GA28560@diku.dk> (at Wed, 27 Apr 2005 00:58:55 +0200), Jonas Fonseca <fonseca@diku.dk> says:\n\n> Show diffstat before the patch.\n\nWe do not always need to generate diffstat.\nPlease add -s option or something to prepend diffstat.\nThanks.\n\n--yoshfuji\n"},{"id":"1943","messageId":"20050428001642.GU22956@pasky.ji.cz","threadId":"339","inReplyTo":"20050428.090702.23236031.yoshfuji@linux-ipv6.org","subject":"Re: [PATCH] cg-mkpatch: Show diffstat before the patch","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-04-28T00:16:42Z","receivedAt":"2005-04-28T00:16:42Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Thu, Apr 28, 2005 at 02:07:02AM CEST, I got a letter\nwhere \"YOSHIFUJI Hideaki / ?$B5HF#1QL@\" <yoshfuji@linux-ipv6.org> told me that...\n> In article <20050426225855.GA28560@diku.dk> (at Wed, 27 Apr 2005 00:58:55 +0200), Jonas Fonseca <fonseca@diku.dk> says:\n> \n> > Show diffstat before the patch.\n> \n> We do not always need to generate diffstat.\n> Please add -s option or something to prepend diffstat.\n> Thanks.\n\nActually, I've been thinking about something like -s, but as in \"short\",\nwhich would skip this --- part altogether.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"}]}