From: Junio C Hamano Date: Wed, 03 Aug 2005 19:02:36 GMT Subject: Re: Very limited pathspec wildcards.. Message-ID: <7voe8ec08j.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > Btw, I'm not sure this is a wonderful idea. I found it useful for doing > > git-whatchanged -p drivers/scsi/aic7xxx/aic79xx* > > since I was interested in seeign if only that particular driver had had > changes. But it's hacky and pretty limited, so I throw this patch out more > as a "maybe others think it is a good idea" thing. Wouldn't something like this work equally well? #!/bin/sh git-whatchanged -r | sed -ne ' /^:/s|aic7xxx/aic79xx|&|p /^:/d p' | git-diff-helper