Unhardcode upstream repo in diff url
Use `doom-repo-url` in diff url to show diff. Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
parent
cb32e459e6
commit
12b733b33e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue