On Jun 15, 2013, at 01:59 , Marvin Humphrey <[email protected]> wrote:

>> I resorted to cutting-and-pasting URL parts, but I think this is the
>> diff from master.
>> https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=commitdiff;h=a665f5aec756e3973e3633770897b10b26cad875;hp=5890545507e185f3201966dfac733210ae88343a
>> Is there an easier way to diff arbitrary commits via the web interface?
> 
> I would typically use the command line like so:
> 
>    git fetch
>    git checkout LUCY-256-thunk-hack1
>    git diff master
>    # or alternately...
>    git diff HEAD~4  #  `4` is the number of commits to go back.
> 
> I also recommend this to make the diffs colored:
> 
>    git config --global color.ui true
> 
> I don't know about the web interface.

GitHub is very nice for viewing diffs. If you want to compare branches, go to 
the "branches" page of apache/lucy:

    https://github.com/apache/lucy/branches

Then you can click on "Compare" next to a branch to get a diff against master. 
You can also select a different branch to compare other branches to. It also 
shows the "triple dot" diff which is usually what you want.

Nick

Reply via email to