Skip to content

Commit

Permalink
Add a temporary kludge for #294
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Aug 30, 2020
1 parent 2b47892 commit 08292ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lisp/forge-github.el
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
t)))
(when bump
(forge--set-id-slot repo issue 'assignees .assignees)
(forge--set-id-slot repo issue 'labels .labels))
(unless (magit-get-boolean "forge.kludge-for-issue-294")
(forge--set-id-slot repo issue 'labels .labels)))
issue))))

(cl-defmethod forge--update-pullreqs ((repo forge-github-repository) data bump)
Expand Down Expand Up @@ -230,7 +231,8 @@
(forge--set-id-slot repo pullreq 'review-requests
(--map (cdr (cadr (car it)))
.reviewRequests))
(forge--set-id-slot repo pullreq 'labels .labels))
(unless (magit-get-boolean "forge.kludge-for-issue-294")
(forge--set-id-slot repo pullreq 'labels .labels)))
pullreq))))

(cl-defmethod forge--update-revnotes ((repo forge-github-repository) data)
Expand Down

0 comments on commit 08292ba

Please sign in to comment.