From 15f91883acdeaebc8a22a601fddfa2a76b084fb7 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 08:45:38 -0800 Subject: git: configure sourcegraph for roblox --- emacs/custom/fcuny-git.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el index 855dd79..5a2f152 100644 --- a/emacs/custom/fcuny-git.el +++ b/emacs/custom/fcuny-git.el @@ -54,7 +54,7 @@ ("C-c g a" . git-link-commit)) :config (defun fcuny/get-sg-remote-from-hostname (hostname) - (format "sourcegraph.twitter.biz/%s" hostname)) + (format "sourcegraph.rbx.com/%s" hostname)) (defun fcuny/git-link-work-sourcegraph (hostname dirname filename _branch commit start end) ;;; For a given repository, build the proper link for sourcegraph. @@ -71,8 +71,8 @@ (git-link-commit-sourcegraph sg-base-url dirname commit))) ;; for work related repositories, open them in our instance of sourcegraph - (add-to-list 'git-link-remote-alist '("twitter" fcuny/git-link-work-sourcegraph)) - (add-to-list 'git-link-commit-remote-alist '("twitter" fcuny/git-link-commit-work-sourcegraph)) + (add-to-list 'git-link-remote-alist '("github\\.rbx\\.com" fcuny/git-link-work-sourcegraph)) + (add-to-list 'git-link-commit-remote-alist '("github\\.rbx\\.com" fcuny/git-link-commit-work-sourcegraph)) ;; for personal code I use gitea, which is similar to codeberg (add-to-list 'git-link-remote-alist '("git\\.fcuny\\.net" git-link-codeberg)) -- cgit 1.4.1