quick diff with index as baseline? [message #1005634] |
Sun, 27 January 2013 16:20  |
Eclipse User |
|
|
|
EGit's integration with quick-diff is very handy and nicely supports using any SHA as the baseline, via history, with HEAD as the default. The one case it does not cover, as far as I know, is using the index as the baseline.
Is there a way to set the index as the baseline? If there isn't, was that just an oversight or is there some difficulty with this case?
If you haven't tried quick-diff in EGit, or you don't know what quick-diff is, have a look:
- Open Preferences -> General -> Editors -> Text Editors -> Quick Diff
- Check "Enable Quick Diff" and "Show Differences in Overview ruler"
- In the pulldown under "Use this reference source"", choose "A Git Revision"
Text files will now have active markups showing which lines have been changed relative to whatever the current baseline is.
|
|
|
Re: quick diff with index as baseline? [message #1005638 is a reply to message #1005634] |
Sun, 27 January 2013 17:52  |
Eclipse User |
|
|
|
R Shapiro skrev 2013-01-27 22.20:
> EGit's integration with quick-diff is very handy and nicely supports using any SHA as the baseline, via history, with HEAD as the default. The one case it does not cover,
> as far as I know, is using the index as the baseline.
>
> Is there a way to set the index as the baseline? If there isn't, was that just an oversight or is there some difficulty with this case?
There isn't a way. Implementing it would not be very hard for the one who wants to do it. The mechanism we use to remember which baseline is internal, so it can be changed
at will.
Btw, If anyone can tell how to make more than one quickdiff bar I'd like to know.
And, btw, move two of the Quickdiff commands to the quickdiff ruler. That wasn't possible when quickdiff was first implemented,
but it should be possible now.
-- robin
|
|
|
Powered by
FUDForum. Page generated in 0.07915 seconds