[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/orgit ca93e9ec56 25/76: orgit-export: ensure default-direc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/orgit ca93e9ec56 25/76: orgit-export: ensure default-directory ends with a slash |
Date: |
Thu, 13 Jan 2022 13:58:44 -0500 (EST) |
branch: elpa/orgit
commit ca93e9ec56ccbc7b153c36b26ac5f54b4422f730
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
orgit-export: ensure default-directory ends with a slash
Closes #15.
---
orgit.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/orgit.el b/orgit.el
index f63ac87993..70533e627e 100644
--- a/orgit.el
+++ b/orgit.el
@@ -218,8 +218,9 @@ points at the revision, if any."
;;; Export
(defun orgit-export (path desc format gitvar idx)
- (-let* (((default-directory rev)
+ (-let* (((dir rev)
(split-string path "::"))
+ (default-directory (file-name-as-directory dir))
(remotes (magit-git-lines "remote"))
(remote (magit-get "orgit.remote"))
(remote (cond ((= (length remotes) 1) (car remotes))
- [nongnu] branch elpa/orgit created (now 66367d6bfc), ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 5b71214a35 01/76: initial import, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 2008116bd1 02/76: orgit-status-open: use magit-status-internal, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 3747e49964 24/76: orgit-rev-store: only resolve rev with prefix argument, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit a9d0c74659 14/76: bump dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit aa193c045b 21/76: orgit-export: use -let*, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ca93e9ec56 25/76: orgit-export: ensure default-directory ends with a slash,
ELPA Syncer <=
- [nongnu] elpa/orgit cbce5871fe 29/76: Store all revisions and optionally all arguments in log links, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 976f3c7d25 32/76: Support storing link(s) to selected commit(s), ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 692256bac9 33/76: Add Makefile, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit d909f92d3b 35/76: Bump copyright years, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ea79e0567a 39/76: orgit-export-alist: Update kernel.org entry, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ddb830c38c 43/76: make: Add new indirect dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 8a65bd2750 42/76: Favor pcase and subr-x over dash, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit a2d3937040 49/76: Adapt to changes in Magit, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit e23c7a6776 46/76: orgit--repository-directory: Error on non-existent directory, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 9598d71682 55/76: Revert "Add .github/FUNDING.yml", ELPA Syncer, 2022/01/13