[RFC] git diff dira dirb file ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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*
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux