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/07/2009 01:39 AM, Eric Raible wrote:
On Thu, Jul 2, 2009 at 11:39 PM, Paolo Bonzini<bonzini@xxxxxxx>  wrote:
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


Are you sure that you didn't mean yes and yes?

I'm sure; I'm not sure I was right (though I did retest at the time, and I was convinced that Linus's alternative worked).

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]