feat: checkout branch from ghpr-review-mode

This commit is contained in:
Lucas Sta Maria 2025-08-26 21:29:58 +08:00
parent aa4749c648
commit c49a89705f
Signed by: lucas
GPG key ID: F07FB16A826E3B47
3 changed files with 62 additions and 0 deletions

View file

@ -49,7 +49,11 @@ Returns the token string if found, nil otherwise."
(username . ,(alist-get 'login user))
(author . ,(alist-get 'login user))
(base_sha . ,(alist-get 'sha base))
(base_ref . ,(alist-get 'ref base))
(head_sha . ,(alist-get 'sha head))
(head_ref . ,(alist-get 'ref head))
(head_repo . ,(alist-get 'repo head))
(head_user . ,(alist-get 'user head))
(merge_commit_sha . ,(alist-get 'merge_commit_sha pr)))))
(defun ghpr--parse-api-pr-list (pr-list)