Re: How to diff 2 file revisions with gitk

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

 



Am 06.02.2013 16:57, schrieb R. Diez:
> I would like to start gitk, select with the mouse 2 
> revisions of some file and then compare them, hopefully with an external
>  diff tool, very much like I am used to with WinCVS.
> 
> The closest I
>  got is to start gitk with a filename as an argument, in order to 
> restrict the log to that one file. Then I right-click on a commit (a 
> file revision) and choose "Mark this commit". However, if I right-click 
> on another commit and choose "Compare with marked commit", I get a full 
> commit diff with all files, and not just the file I specified on the 
> command-line arguments.

Edit->Preferences, tick 'Limit diff to listed paths'.

-- Hannes

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