summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-25 17:42:55 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-25 17:42:55 -0700
commit187bb5b3573e7905f2a3937f6e277985b91a3dee (patch)
treea98d338a5479f7726fe692a5af4911f1e20863c9 /emacs/custom
parentdoc: add information about the forge package (diff)
downloademacs.d-187bb5b3573e7905f2a3937f6e277985b91a3dee.tar.gz
git: add more forges
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-git.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/emacs/custom/my-git.el b/emacs/custom/my-git.el
index 348dfe7..020865c 100644
--- a/emacs/custom/my-git.el
+++ b/emacs/custom/my-git.el
@@ -41,9 +41,13 @@
      ("Updated" 10 t nill updated nil))))
 
 (with-eval-after-load 'forge
-  (push '("github.rbxs.com" "github.rbx.com/api/v3"
-          "github.rbx.com" forge-github-repository)
-        forge-alist))
+  (setq forge-alist
+	    (quote
+	     (("github.com" "api.github.com" "github.com" forge-github-repository)
+	      ("gitlab.com" "gitlab.com/api/v4" "gitlab.com" forge-gitlab-repository)
+          ("git.fcuny.net" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository)
+          ("github.rbx.com" "github.rbx.com/api/v3" "github.rbx.com" forge-github-repository)
+	      ("git.kernel.org" nil "git.kernel.org" forge-cgit-repository)))))
 
 (use-package git-commit
   :ensure t