Re: Does CVS has a easy way to compare file with its previous version?

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

 



On 07/02/2009 08:04 PM, Eric Raible wrote:
Isn't the first one incorrect because<file>  needs to be inside the backticks?
git diff `git log -2 --pretty=format:%h<file>` --<file>

And isn't the replacement incorrect also (the diffs are backwards)?
git log --no-merges -p -R -1<file>

Yes and no.

Paolo
--
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]