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
Have custom guitools defined for git gui in a menu. #44
Comments
commands: Add a RunConfigAction command This implements the git guitool.*.cmd interface as documented Closed by e9eb3aa Suggested-by: frogonwheels via github |
Are guitool launches supposed to be blocking git-cola GUI? I'd like to define system wide guitools that keep git-cola functional, similar to Terminal and Editor launches. |
Dynamically find the guitool config options instead of hard-coding their names. Related-to: #44 Signed-off-by: David Aguilar <davvid@gmail.com>
Setting `guitool.<name>.background` will now launch custom commands in the background, which avoids blocking the UI. Related-to: #44 Suggested-by: Leho Kraav <leho@kraav.com> Signed-off-by: David Aguilar <davvid@gmail.com>
@lkraav good idea! Now we can |
Lots of goodies in 2.0.3+ now. Can you cut a 2.0.4? I don't think I'll be bugging you for a while after this.. everything's there! ;) |
Thanks ;-) Yeah, it's just about time for the monthly release. I'll tag the repo before the end of the week for sure. |
I'm not entirely sure this is working correctly. Simple guitool
When launching it, I get Traceback (most recent call last): File "/usr/share/git-cola/lib/cola/cmds.py", line 1343, in do_cmd File "/usr/share/git-cola/lib/cola/cmds.py", line 981, in do File "/usr/lib64/python3.3/posixpath.py", line 304, in expandvars TypeError: argument of type 'NoneType' is not iterable |
We downcase the search pattern to match the case-ignoring behavior used by "git config", but we did not also downcase the candidate string. Downcase both so that we properly support having tool with mixed case names. Add a test to ensure the proper behavior. Related-to: #44 Reported-by: Leho Kraav <leho@kraav.com> Signed-off-by: David Aguilar <davvid@gmail.com>
Thanks for the heads-up, it works with mixed-case names now. |
Make qtpy to set the QT_API environment variable
It would be nice to be able to see (and edit) the tools defined for git gui in menus under git-cola.
For example:
guitool.Merge/Resolve All Merges.cmd=git mergetool --no-prompt
"Actions" menu could be a good place to put it.. or possibly its own.
The text was updated successfully, but these errors were encountered: