Add the key first, then do a fetch

Otherwise, we get 2 key queries
This commit is contained in:
Benson Chu 2022-01-19 22:00:30 -06:00
parent 9bca821216
commit baff8abb73

View file

@ -189,10 +189,10 @@ With a universal argument, prompt to specify which key."
(lambda (&rest args) (message "Remember to ssh-add!")))
(add-hook 'git-auto-commit-mode-hook
#'rb/ssh-add)
#'gac-use-magit-fetch)
(add-hook 'git-auto-commit-mode-hook
#'gac-use-magit-fetch)
#'rb/ssh-add)
(add-hook 'git-auto-commit-mode-hook
#'gac-after-save-func t t)