From 5d4324c3e233f95ce7b98ac399769cd1f478e15b Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 4 Sep 2024 11:59:19 +0100 Subject: Forcing branch is no longer necessary for magit et al --- .emacs.d/lisp/init-git.el | 9 --------- 1 file changed, 9 deletions(-) (limited to '.emacs.d/lisp/init-git.el') diff --git a/.emacs.d/lisp/init-git.el b/.emacs.d/lisp/init-git.el index 4863b75..1d7183e 100644 --- a/.emacs.d/lisp/init-git.el +++ b/.emacs.d/lisp/init-git.el @@ -71,7 +71,6 @@ (message "not a git repository")))) (use-package magit - :ensure (magit :branch "main") :bind ("C-c g g" . magit-dispatch) ;; magit-file-dispatch is C-c M-g ("C-c g u" . my/magit-set-upstream) @@ -304,17 +303,9 @@ (magit-refresh))) (use-package forge - :ensure (forge :branch "main") :after magit :bind (:map forge-pullreq-list-mode-map ("C-w" . forge-copy-url-at-point-as-kill))) -;; ghub and with-editor are dependencies of magit, but we need to force them to use the main branch -(use-package ghub - :ensure (ghub :branch "main")) - -(use-package with-editor - :ensure (with-editor :branch "main")) - (use-package git-link :config (defun git-link-on-branch () -- cgit 1.4.1-2-gfad0