From 12b733b33ee80789e697802c242ead0f7ed5a4f6 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Sun, 29 Nov 2020 17:46:40 -0800 Subject: [PATCH] Unhardcode upstream repo in diff url Use `doom-repo-url` in diff url to show diff. Signed-off-by: Rudi Grinberg --- core/cli/upgrade.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/cli/upgrade.el b/core/cli/upgrade.el index e081d900f..8de4b1b38 100644 --- a/core/cli/upgrade.el +++ b/core/cli/upgrade.el @@ -100,7 +100,8 @@ following shell commands: (substring new-rev 0 10) (cdr (doom-call-process "git" "log" "-1" "--format=%cr" target-remote)))) (let ((diff-url - (format "https://github.com/hlissner/doom-emacs/compare/%s...%s" + (format "%s/compare/%s...%s" + doom-repo-url this-rev new-rev))) (print! "Link to diff: %s" diff-url)