feat(magit): replace github-review for code-review

This commit is contained in:
Ellis Kenyo 2021-12-15 07:05:57 +00:00
parent 23f6f90515
commit 2d3a68df49
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02
3 changed files with 17 additions and 7 deletions

View file

@ -153,9 +153,9 @@ kill all magit buffers for this repo."
(kill-buffer buf)))))))
;;;###autoload
(defun +magit/start-github-review (arg)
(defun +magit/start-code-review (arg)
(interactive "P")
(call-interactively
(if (or arg (not (featurep 'forge)))
#'github-review-start
#'github-review-forge-pr-at-point)))
#'code-review-start
#'code-review-forge-pr-at-point)))