-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External diff viewer #219
Comments
There's no global option to open an external diff viewer. Would be a nice What is possible today is to remap the key binding for opening a commit
If you already have it set up your external diff viewer in Git the above
|
Will try the workaround. The option would be very useful IMHO. External tools usually provide nicer visual representation than git diff. Plus having it open in another window simultaneously while writing commit message is big help. At least that's how I function. I checked the source code and tried few things already, but it didn't work. Would probably need to spend more time with code to better understand. If you won't consider adding this in forseeable future, I can take another look if you can send me some tips that will guide me to proper direction. Especially if binding will not be enough.
|
Is there any more information about setting up the binding? The example given by @jonas above appears to diff all changes for a commit. I'd like to diff a singe file externally, for example, from the status view. |
@jargv Untested but something like the following:
|
I've made the following difftool bindings in
F4 - In status view shows the diff of the selected file |
I was playing around with some of the above solutions. They all compare a commit against the HEAD revision, whereas I want to compare against the previous revision. I tried using I ended up creating a script, tig-difftool-helper.sh which tailors the arguments to difftool (simplified here):
And these bindings in
|
The external script shouldn’t be necessary, you will find some hints in issue #26. |
@kmac Here is what I did to achieve the same:
|
@jonas. I set it as git external diff, and then |
Duplicated issue? See Issue #542. |
Can't find a way to use external diff viewer (kaleideoscope for example). Am I missing something or is this not possible?
The text was updated successfully, but these errors were encountered: