Skip to content

Commit

Permalink
Clean up whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jun 28, 2024
1 parent 3e517c5 commit b4516cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lisp/forge-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Each entry has the form (GITHOST APIHOST WEBHOST CLASS).
- WEBHOST is the host used to access repositories on this forge using
a browser. The IDs used to identify repositories from the forge in
the local database also derives from this value.
- CLASS is the class to be used for repositories from the forge.
Complications:
Expand Down
16 changes: 8 additions & 8 deletions lisp/forge-pullreq.el
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ and optional HEADING to change the section heading."
;; pr range may be out of sync. Just show them all.
(magit-insert-section-body
(magit--insert-log nil
(delq nil (list (concat "^" (or (oref pullreq base-rev)
(concat (forge--get-remote) "/"
(oref pullreq base-ref))))
(forge--pullreq-ref pullreq)
(forge--pullreq-branch-active pullreq)
(and-let* ((branch (oref pullreq head-ref)))
(and (magit-local-branch-p branch) branch))))
(seq-uniq (cons "--graph" magit-buffer-log-args))))
(delq nil (list (concat "^" (or (oref pullreq base-rev)
(concat (forge--get-remote) "/"
(oref pullreq base-ref))))
(forge--pullreq-ref pullreq)
(forge--pullreq-branch-active pullreq)
(and-let* ((branch (oref pullreq head-ref)))
(and (magit-local-branch-p branch) branch))))
(seq-uniq (cons "--graph" magit-buffer-log-args))))
(when-let ((range (forge--pullreq-range pullreq)))
(magit-insert-section-body
(magit--insert-log nil range magit-buffer-log-args)
Expand Down

0 comments on commit b4516cf

Please sign in to comment.