[RFC] git diff dira dirb file ...

From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:44:42

After a lot of trying, I finally found something that git diff doesn't 
handle. If you've got two trees of files with the same general structure, 
even if they aren't at all git-related, you can use:

$ git diff dira dirb

to get a nice diff between them. But then it would be intuitive and useful 
to be able to restrict by path the files within those directories that you 
want to compare (much like "git diff origin master file1 file2 ...") with:

$ git diff dira dirb file1 file2

That would, of course, compare dira/file1 with dirb/file1 and dira/file2 
with dirb/file2. Before I start looking into implementing this, is it 
incoherent for some reason I'm not seeing?

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help