emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/orgit a4a565be2a 74/76: Export repository-ID based links


From: ELPA Syncer
Subject: [nongnu] elpa/orgit a4a565be2a 74/76: Export repository-ID based links
Date: Thu, 13 Jan 2022 13:58:48 -0500 (EST)

branch: elpa/orgit
commit a4a565be2a7aff612da09a5f8d6c65c1926fc571
Author: Daniel Fleischer <daniel.fleischer@amobee.com>
Commit: Daniel Fleischer <daniel.fleischer@amobee.com>

    Export repository-ID based links
    
    Without this fix, export fails because one needs to parse the "short"
    repository location back to full path.
    
    Solves issue when `orgit-store-repository-id` is non-nil.
---
 orgit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orgit.el b/orgit.el
index dd78c1830b..018c063c0b 100644
--- a/orgit.el
+++ b/orgit.el
@@ -404,7 +404,7 @@ store links to the Magit-Revision mode buffers for these 
commits."
 
 (defun orgit-export (path desc format gitvar idx)
   (pcase-let* ((`(,dir ,rev) (split-string path "::"))
-               (dir (file-name-as-directory (expand-file-name dir))))
+               (dir (orgit--repository-directory dir)))
     (if (file-exists-p dir)
         (let* ((default-directory dir)
                (remotes (magit-git-lines "remote"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]