Skip to content

Commit

Permalink
forge-get-{issue,pullreq}: Avoid infinite recursion
Browse files Browse the repository at this point in the history
Re #704.
  • Loading branch information
tarsius committed Nov 20, 2024
1 parent 4dd681e commit 00609db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lisp/forge-issue.el
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
'forge-issue))

(cl-defmethod forge-get-issue ((number integer))
(and-let* ((repo (forge-get-repository :tracked)))
(and-let* ((repo (forge-get-repository :tracked nil 'notatpt)))
(forge-get-issue repo number)))

(cl-defmethod forge-get-issue ((id string))
Expand Down
2 changes: 1 addition & 1 deletion lisp/forge-pullreq.el
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
'forge-pullreq))

(cl-defmethod forge-get-pullreq ((number integer))
(and-let* ((repo (forge-get-repository :tracked)))
(and-let* ((repo (forge-get-repository :tracked nil 'notatpt)))
(forge-get-pullreq repo number)))

(cl-defmethod forge-get-pullreq ((id string))
Expand Down

0 comments on commit 00609db

Please sign in to comment.