{"thread":{"id":"14672","subject":"statistics","startedAt":"2008-07-25T11:18:05Z","lastAt":"2008-07-25T22:57:47Z","messageCount":7,"participants":["Rene Herman","Johannes Sixt","Johannes Schindelin","Kevin Ballard"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"84866","messageId":"4889B66D.4020306@keyaccess.nl","threadId":"14672","inReplyTo":null,"subject":"statistics","fromName":"Rene Herman","fromEmail":"rene.herman@keyaccess.nl","sentAt":"2008-07-25T11:18:05Z","receivedAt":"2008-07-25T11:18:05Z","isPatch":false,"sender":{"key":"rene.herman@keyaccess.nl","avatar":null},"body":"Hi.\n\nIs there a (non-depressing) way of getting \"which files did not change \nsince <rev>\" out of git?\n\nRene.\n"},{"id":"84867","messageId":"4889B912.9040006@viscovery.net","threadId":"14672","inReplyTo":"4889B66D.4020306@keyaccess.nl","subject":"Re: statistics","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2008-07-25T11:29:22Z","receivedAt":"2008-07-25T11:29:22Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Rene Herman schrieb:\n> Hi.\n> \n> Is there a (non-depressing) way of getting \"which files did not change\n> since <rev>\" out of git?\n\nWhat is \"non-depressing\"?\n\nTry this if you are using bash:\n\n  comm -13 <(git diff --name-only your-rev-here) <(git ls-files)\n\n-- Hannes\n"},{"id":"84871","messageId":"4889BF2F.7050309@keyaccess.nl","threadId":"14672","inReplyTo":"4889B912.9040006@viscovery.net","subject":"Re: statistics","fromName":"Rene Herman","fromEmail":"rene.herman@keyaccess.nl","sentAt":"2008-07-25T11:55:27Z","receivedAt":"2008-07-25T11:55:27Z","isPatch":false,"sender":{"key":"rene.herman@keyaccess.nl","avatar":null},"body":"On 25-07-08 13:29, Johannes Sixt wrote:\n\n> Rene Herman schrieb:\n\n>> Is there a (non-depressing) way of getting \"which files did not change\n>> since <rev>\" out of git?\n> \n> What is \"non-depressing\"?\n> \n> Try this if you are using bash:\n> \n>   comm -13 <(git diff --name-only your-rev-here) <(git ls-files)\n\nThat classifies as non-depressing, thank you. --name-only, process \nsubstitution _and_ comm -13 hadn't featured in my attempts yet.\n\nRene.\n"},{"id":"84881","messageId":"alpine.DEB.1.00.0807251519290.11976@eeepc-johanness","threadId":"14672","inReplyTo":"4889B912.9040006@viscovery.net","subject":"Re: statistics","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-07-25T13:23:12Z","receivedAt":"2008-07-25T13:23:12Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 25 Jul 2008, Johannes Sixt wrote:\n\n>   comm -13 <(git diff --name-only your-rev-here) <(git ls-files)\n\nThanks.  I learnt two new things from that: comm (funnily, I did not know \nthat tool), and <() (looks almost like a puffin, doesn't it?).\n\nBut should it not be -12?\n\nCiao,\nDscho\n"},{"id":"84882","messageId":"4889D66E.9090802@viscovery.net","threadId":"14672","inReplyTo":"alpine.DEB.1.00.0807251519290.11976@eeepc-johanness","subject":"Re: statistics","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2008-07-25T13:34:38Z","receivedAt":"2008-07-25T13:34:38Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Johannes Schindelin schrieb:\n> On Fri, 25 Jul 2008, Johannes Sixt wrote:\n> \n>>   comm -13 <(git diff --name-only your-rev-here) <(git ls-files)\n> \n> But should it not be -12?\n\nI don't think so:\n\n  -1 .. suppress lines unique to 1st arg, i.e. removed files\n  -2 .. suppress lines unique to 2nd arg, i.e. unmodified files\n  -3 .. suppress lines in both, i.e. modified and added files\n\nWe want to keep lines that -2 would remove, that leaves -1 and -3.\n\n-- Hannes\n"},{"id":"84883","messageId":"alpine.DEB.1.00.0807251541230.11976@eeepc-johanness","threadId":"14672","inReplyTo":"4889D66E.9090802@viscovery.net","subject":"Re: statistics","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-07-25T13:41:46Z","receivedAt":"2008-07-25T13:41:46Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 25 Jul 2008, Johannes Sixt wrote:\n\n> Johannes Schindelin schrieb:\n> > On Fri, 25 Jul 2008, Johannes Sixt wrote:\n> > \n> >>   comm -13 <(git diff --name-only your-rev-here) <(git ls-files)\n> > \n> > But should it not be -12?\n> \n> I don't think so:\n> \n>   -1 .. suppress lines unique to 1st arg, i.e. removed files\n>   -2 .. suppress lines unique to 2nd arg, i.e. unmodified files\n>   -3 .. suppress lines in both, i.e. modified and added files\n> \n> We want to keep lines that -2 would remove, that leaves -1 and -3.\n\nOh, but of course!\n\nThanks again,\nDscho\n"},{"id":"84967","messageId":"65DE6D62-2507-4C49-94A7-B5DBD7FCC8DC@sb.org","threadId":"14672","inReplyTo":"4889B912.9040006@viscovery.net","subject":"Re: statistics","fromName":"Kevin Ballard","fromEmail":"kevin@sb.org","sentAt":"2008-07-25T22:57:47Z","receivedAt":"2008-07-25T22:57:47Z","isPatch":false,"sender":{"key":"kevin@sb.org","avatar":"https://avatars.githubusercontent.com/u/714?v=4"},"body":"On Jul 25, 2008, at 4:29 AM, Johannes Sixt wrote:\n\n> Rene Herman schrieb:\n>> Hi.\n>>\n>> Is there a (non-depressing) way of getting \"which files did not  \n>> change\n>> since <rev>\" out of git?\n>\n> What is \"non-depressing\"?\n>\n> Try this if you are using bash:\n>\n>  comm -13 <(git diff --name-only your-rev-here) <(git ls-files)\n\nNeat, I never knew about comm before. I probably would have come up  \nwith something like\n\n   cat <(git ls-tree -r $REV) <(git ls-tree -r HEAD) | sort | uniq -d  \n| cut -f 2 | sort\n\n-Kevin Ballard\n\n-- \nKevin Ballard\nhttp://kevin.sb.org\nkevin@sb.org\nhttp://www.tildesoft.com\n"}]}