Actually, I think I have to take it back, that script /does/ work, at least if you specify a directory to be substituted for %1. But not globs. And for Windows of course you'll need to get some of the grep, cut, xargs, etc tools from the gnu guys (can't remember the url, but you can easily google and find the binaries for them) -dave > -----Original Message----- > From: fossil-users-boun...@lists.fossil-scm.org > [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of dave > Sent: Thursday, September 25, 2014 9:57 PM > To: 'Fossil SCM user's discussion' > Subject: Re: [fossil-users] gdiff/opendiff on os x: suppress > unchanged files? > > > FYI I did try on a lark: > > fossil changes %1 | grep EDITED | cut -c12- - | xargs fossil gdiff > > Which almost did it. Except for the fact that 'fossil > changes' does not > support specifying a directory (or whether to recurse, or > not), so this was > ultimately was the same as a 'fossil gdiff', haha, just more > circumlocutory. > But... Maybe someone smarter than me can think of a filter before the > 'xargs' that further reduces the file list to just the ones > in the intended > directory, and then you'd have it, I think. > > -dave > > > -----Original Message----- > > From: dave [mailto:d...@ziggurat29.com] > > Sent: Thursday, September 25, 2014 8:37 AM > > To: 'Fossil SCM user's discussion' > > Subject: RE: [fossil-users] gdiff/opendiff on os x: suppress > > unchanged files? > > > > > > Yep, now I understand and agree with you all. I guess you > > could call it supporting globbing, or scoped gdiff. I don't > > know if the present case is because globbing on the command > > line is expanded by the shell to a mondo list of files before > > fossil.exe gets them, in which case perhaps it needs a switch > > like --ignore-unchanged, or maybe changes it's behaviour to > > that automatically in the more-that-one-file case. Or maybe > > it always ignores unchanged files, but at least emits a > > message to stdout that it is skipping an unchangd file, so > > you don't think something is broken. > > > > I wonder if in the meantime a script could be created to take > > the output of fossil changes and concoct a file list of just > > the changed files, and then invoke fossil gdiff with that? > > > > OK, now I'm really going to duck out of the conversation. Haha. > > > > -dave > > > > > -----Original Message----- > > > Of Dömötör Gulyás > > ... > > > Yes, that's exactly my use case, exacerbated by the fact that > > > FileMerge/opendiff are real slow when used from fossil/git/bzr per > > > file, taking on the order of seconds for every file it > has to show, > > ... > > > > > On 25 September 2014 08:50, Tony Papadimitriou > > <to...@acm.org> wrote: > > > > Well, it may not seem like a problem if you compare a > > > single file that you > > > > know has no differences, but imagine youre checking a > > > specific directory > > > > with hundreds of files, only one or two of which have > > > changed. Fossil will > > ... > > > > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users