Feature: custom guitool commands can now have custom keyboard shortcuts - #220
Feature: custom guitool commands can now have custom keyboard shortcuts#220harish2704 wants to merge 4 commits into
Conversation
eg: in ~/.gitconfig ``` [guitool "pull"] cmd = git pull accelerator = "<Control-Key-l>" accelerator-label = "Ctrl-l" ```
|
@harish2704 sent this commit (90f7b16...7d2bbab) as a patch to the mailing list with submitGit - here on Gmane, MARC |
|
@harish2704 sent this commit (90f7b16...7d2bbab) as a patch to the mailing list with submitGit - here on Gmane, MARC |
* 'master' of github.com:git/git: (1411 commits) Fourth batch for 2.11 Start preparing for 2.10.1 Third batch for 2.11 Second batch for 2.11 t/perf/run: copy config.mak.autogen & friends to build area i18n: update-index: mark warnings for translation i18n: show-branch: mark plural strings for translation i18n: show-branch: mark error messages for translation i18n: receive-pack: mark messages for translation notes: spell first word of error messages in lowercase i18n: notes: mark error messages for translation i18n: merge-recursive: mark verbose message for translation i18n: merge-recursive: mark error messages for translation i18n: config: mark error message for translation i18n: branch: mark option description for translation i18n: blame: mark error messages for translation format-patch: show base info before email signature xdiff: fix merging of hunks with -W context and -u context vcs-svn/fast_export: fix timestamp fmt specifiers sha1_file: use llist_mergesort() for sorting packs ...
The stat() method should not be dependent on the core.symlinks config entry
|
@harish2704 seems that this patch has stalled in https://marc.info/?l=git&m=145949232928597&w=2... |
|
@dscho : You are right. Do you have any suggestion to make this feature live ? |
Well, David seemed to have a few good points:
From looking at https://git-cola.readthedocs.io/en/latest/git-cola.html#configuration-variables, it does not appear to me that git-cola developed anything in that direction yet. And I am not necessarily certain that it would even be possible, given that you use Tk's built-in hotkey parsing and git-cola uses Qt for that (via Python), and they might very possibly have different naming conventions. In any case, the naming convention of Git GUI's command names (the So I would recommend replying to David with considerations based on what I just wrote, to the extent that it is probably not possible to keep these configurable hotkeys in sync. Other than that, I would try to make the diff a bit nicer to read, if only to make review easier. In particular, I think I would rather try to use Also, my preference would be to use the convention And yes, it would definitely benefit from a description and at least one example in the documentation, although, admittedly, there seems not to be any good documentation for Git GUI (https://github.com/git/git/blob/v2.22.0/Documentation/git-gui.txt is really too short). But at least the commit message would benefit from such an example. Speaking of commit message: it should start with a line that has the prefix |
|
@harish2704 gentle ping? |
|
@dscho I am sorry for the delayed response. |
|
@harish2704 I am not interested in private discussions about open source projects 😃 Let's keep this conversation in this here PR. |
|
Sure. We can discuss here it self. I will put an eye on my github update emails |
Don't forget to look at the comments that are already there, in particular the comment I left on June 19th. |
|
@harish2704 gentle ping? |
* upstream/master: (8682 commits) Third batch gitk: rename zh_CN.po to zh_cn.po git-gui: add hotkey to toggle "Amend Last Commit" gitk: Do not mistake unchanged lines for submodule changes gitk: Use right colour for remote refs in the "Tags and heads" dialog gitk: Add Chinese (zh_CN) translation git-gui: add horizontal scrollbar to commit buffer git-gui: convert new/amend commit radiobutton to checkbutton git-gui: add hotkeys to set widget focus Second batch t3427: accelerate this test by using fast-export and fast-import am: reload .gitattributes after patching it gitk: Make web links clickable git-gui: allow undoing last revert path: add a function to check for path suffix git-gui: return early when patch fails to apply git-gui: allow reverting selected hunk git-gui: allow reverting selected lines transport: teach all vtables to allow fetch first transport-helper: skip ls-refs if unnecessary ...
|
@dscho : Hi, Then , I noticed that, For example, In short, both will conflict. git-cola is already using a config Will it meet the code quality ? Let me know your thoughts |
I don't know whether it will meet the code quality, but you can ask the Git GUI maintainer (we now have an active one again! Yay!). How about mentioning your concern to the Git mailing list ([email protected]) Cc:ing Pratyush Yadav ([email protected])? Maybe somebody on the list already has a cunning idea how to maybe reuse the QKeySequences and turn them into their Tcl/Tk equivalent programmatically. Then you could reuse the |
|
@dscho , Yes. will do that. A quick summary of my proposal is given below
-Will update you once I send the mail |
|
@harish2704 looks sensible to me, perfect as a discussion starter. |
Signed-off-by: Harish.K <[email protected]>
|
@dscho : I had sent a mail as you described , but even after 24 hours, I couldn't find that mail in any of the git mailing list archives. So I think it lost due to some reason. Now I sent it again in plain text mode ( previous mail was sent in normal mode which is html mode ) Update: It became available in mailing list . Please see https://marc.info/?l=git&m=157011410330286&w=2 |
|
Closing this PR since , this has to split into two separate PRs.
|
test-gvfs-prococol, t5799: tests for gvfs-helper
test-gvfs-prococol, t5799: tests for gvfs-helper
test-gvfs-prococol, t5799: tests for gvfs-helper
test-gvfs-prococol, t5799: tests for gvfs-helper
eg: in ~/.gitconfig