Skip to content

Commit

Permalink
forge-repository-at-point: Don't expand paths from magit-repolist-mode
Browse files Browse the repository at this point in the history
The tabulated-list entry IDs are now absolute paths.
  • Loading branch information
tarsius committed Dec 22, 2024
1 parent 683898d commit cfaf86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/forge-repo.el
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ an error."
(forge-get-repository :id id)))
(and (derived-mode-p 'magit-repolist-mode)
(and-let* ((dir (tabulated-list-get-id)))
(forge-get-repository :dir (expand-file-name dir))))
(forge-get-repository :dir dir)))
(and demand (user-error "No repository at point"))))

(defun forge--repo-for-thingatpt ()
Expand Down

0 comments on commit cfaf86c

Please sign in to comment.