This commit is contained in:
Daniel Ziltener 2024-09-07 09:52:01 +02:00
parent 775b01b3fc
commit 626408d196
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -799,12 +799,12 @@ Point must be at the beginning of balanced expression (sexp)."
(use-package forge
:after magit
:custom
(forge-alist (("github.com" "api.github.com" "github.com" forge-github-repository)
("gitlab.com" "gitlab.com/api/v4" "gitlab.com" forge-gitlab-repository)
("dev.bevuta.com" "dev.bevuta.com/api/v4" "dev.bevuta.com" forge-gitlab-repository)
("codeberg.org" "codeberg.org/api/v1" "codeberg.org" forge-gitea-repository)
("gitea.lyrion.ch:7920" "gitea.oyrion.ch/api/v1" "gitea.lyrion.ch" forge-gitea-repository)
("git.sr.ht" nil "git.sr.ht" forge-srht-repository)))
(forge-alist '(("github.com" "api.github.com" "github.com" forge-github-repository)
("gitlab.com" "gitlab.com/api/v4" "gitlab.com" forge-gitlab-repository)
("dev.bevuta.com" "dev.bevuta.com/api/v4" "dev.bevuta.com" forge-gitlab-repository)
("codeberg.org" "codeberg.org/api/v1" "codeberg.org" forge-gitea-repository)
("gitea.lyrion.ch:7920" "gitea.oyrion.ch/api/v1" "gitea.lyrion.ch" forge-gitea-repository)
("git.sr.ht" nil "git.sr.ht" forge-srht-repository)))
:config
(advice-add 'magit :after (lambda (&rest _args)
(call-interactively #'forge-pull))))