about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-git.el9
-rw-r--r--.emacs.d/lisp/init-packages.el2
2 files changed, 10 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-git.el b/.emacs.d/lisp/init-git.el
index 1d7183e..4863b75 100644
--- a/.emacs.d/lisp/init-git.el
+++ b/.emacs.d/lisp/init-git.el
@@ -71,6 +71,7 @@
       (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)
@@ -303,9 +304,17 @@
     (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 ()
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index 48080d8..364a063 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -85,7 +85,7 @@
                        elpaca--pre-built-steps elpaca-build-steps))
           (list '+elpaca-unload-transient 'elpaca--activate-package)))
 
-(elpaca `(transient :build ,(+elpaca-transient-build-steps)))
+(elpaca `(transient :branch "main" :build ,(+elpaca-transient-build-steps)))
 
 ;; Block until current queue processed.
 (elpaca-wait)
4-12 22:42:48 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-04-12 23:29:07 -0700 1056' href='/akkartik/mu/commit/cpp/032scenario_test.mu?h=main&id=0f996b7ba88f988e961a644bb85e3e3b5afe4a41'>0f996b7b ^
d9cd13ad ^
3f7eed6c ^
d9cd13ad ^
bc643692 ^



d9cd13ad ^
22b30692 ^
167d0ca0 ^
d9cd13ad ^

22b30692 ^


bc643692 ^
22b30692 ^







bc643692 ^
22b30692 ^







65b3db5d ^
22b30692 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70