Skip to content
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

Replace various "Visualize with..." menu items with single configurable item #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrabbitt
Copy link

Background:

As per discussion in Pull request 1, the Git bundle menu is quite long and has top-level commands to open the project in various GUI apps (GitX, gitk, etc.). I wanted to add similar support for SourceTree, but this would make the menu even longer and more unwieldy.

In this pull request:
  • All Visualize History with ... items menu items have been removed and replaced with a single Visualize History with External Git App item. (There's probably a better way to name this command...suggestions?)
    screenshot: Git bundle menu
  • The behavior of Visualize History with External Git App is configured via the config dialog. The user can choose between several preset apps, or choose "custom" and add a custom shell command to be run instead.
    screenshot: new config dialog options

I've tested the changes with every listed app except for Gitnub.

The UI for the config dialog could be cleaned up a bit more: There are text fields for custom paths to GitX and Gitnub which are currently displayed no matter which app is selected from the menu. I'd like to add some Javascript to dynamically show/hide these fields based on the app selection, but before I go down that path, I wanted to get some feedback on this overall approach.

Let me know what you think of this approach. Thanks.

Michael Rabbitt added 2 commits September 9, 2013 23:42
…o feature/configurable_external_app

# Conflicts:
#	Commands/Use Git-Gui.tmCommand
#	Commands/Use GitX.tmCommand
#	Commands/Use Gitnub.tmCommand
@mrabbitt
Copy link
Author

mrabbitt commented Oct 4, 2016

In case someone else finds this useful, I've just merged recent changes from the base branch into my pull request branch.

I've been using the changes in this pull request myself for over two years (mostly with SourceTree) without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant