summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@roblox.com>2022-02-03 08:45:38 -0800
committerFranck Cuny <fcuny@roblox.com>2022-02-03 08:45:38 -0800
commit15f91883acdeaebc8a22a601fddfa2a76b084fb7 (patch)
treee84ce8c30b4b648cf405937f597babf7fa742388
parentmagit: pull the proper package (diff)
downloademacs.d-15f91883acdeaebc8a22a601fddfa2a76b084fb7.tar.gz
git: configure sourcegraph for roblox
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-git.el6
1 files 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))