Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Launch diff tool from context menu

closed
nobody
None
5
2007-12-22
2007-12-17
No

If two commits are selected in the revision list, and those commits have some files in common, it would be cool to be able to launch the diff tool that is configured via "GIT_EXTERNAL_DIFF" or "diff.external" against them.

Here's an example. Imagine a commit that modifies the following files:

a.cpp
b.cpp
c.cpp
d.cpp

And another commit that modifies these files:

b.cpp
d.cpp
e.cpp

If those two commits are selected, the context menu could show a "Diff" item, which has a submenu like this:

All
----
b.cpp
d.cpp

Selecting "All" from the submenu should launch different instances of the diff tool for all files that the two commits have in common at once. Selecting one of the file names should launch the diff tool only for that single file.

Discussion

  • Marco Costalba
    Marco Costalba
    2007-12-22

    Logged In: YES
    user_id=1286020
    Originator: NO

    qgit it's already cool ;-)

    -Select one revision (mouse left click)
    -Select another revision with CTRL+RIGHT click -> a colored file list background will appear

    Now qgit shows the diff in files and patches between the two revisions

    -Select a file from the bottom right pane file list
    -Invoke context menu(right click on the file)
    -Choose "External diff.." entry and you should get what you expect.

    Cheers
    Marco

     
  • Marco Costalba
    Marco Costalba
    2007-12-22

    • status: open --> closed