From: Karl Hasselström Date: Thu, 26 Oct 2006 08:42:21 GMT Subject: Re: an option to make "git-diff Z A" prints Z's diff before A's Message-ID: <20061026084221.GB13780@diana.vm.bytemark.co.uk> In-Reply-To: <7vd58g9pfs.fsf@assigned-by-dhcp.cox.net> On 2006-10-25 12:16:07 -0700, Junio C Hamano wrote: > The thing is, "git diff -- Z A" does *not* mean: > > I know I have a file called Z and a file called A; please give > diff for these files. > > What it means is: > > Please give me the diff as usual, but I care about paths that > match these patterns, Z or A. A related question: is there a way to limit the path to Z, but excluding Z/B? That is, I'm interested in the changes in Z, but not the changes in its subdirectory B. -- Karl Hasselström, kha@treskal.com