[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/orgit 6a22c2e459 06/76: orgit-log-store: use branch name,
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/orgit 6a22c2e459 06/76: orgit-log-store: use branch name, not HEAD |
Date: |
Thu, 13 Jan 2022 13:58:43 -0500 (EST) |
branch: elpa/orgit
commit 6a22c2e4598ab9a5af1933c04f253b4cb8dba330
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
orgit-log-store: use branch name, not HEAD
Suggested-by: Kyle Meyer <kyle@kyleam.com>
---
orgit.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/orgit.el b/orgit.el
index 0cbae15e1c..00c62fd27c 100644
--- a/orgit.el
+++ b/orgit.el
@@ -161,10 +161,12 @@ If all of the above fails then `orgit-export' raises an
error."
(when (eq major-mode 'magit-log-mode)
(let ((repo (abbreviate-file-name default-directory))
(rev (cadr magit-refresh-args)))
- ;; FIXME Once version 2.1.0 of Magit is released,
- ;; support multi-rev logs.
+ ;; TODO Once version 2.1.0 of Magit is released, support multi-rev logs.
(when (listp rev)
(setq rev (car rev)))
+ ;; TODO Once version 2.1.0 of Magit is released, remove this kludge.
+ (when (fboundp 'magit-name-rev)
+ (setq rev (magit-name-rev rev)))
(org-store-link-props
:type "orgit-log"
:link (format "orgit-log:%s::%s" repo rev)
- [nongnu] elpa/orgit d909f92d3b 35/76: Bump copyright years, (continued)
- [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
- [nongnu] elpa/orgit c110371202 57/76: orgit--repository-directory: Support relative paths again, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit e147f05577 61/76: eval-after-load: replace string feature w/ symbol, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 229a2ae37a 65/76: orgit-export-alist: Add git.sr.ht entry, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 6a22c2e459 06/76: orgit-log-store: use branch name, not HEAD,
ELPA Syncer <=
- [nongnu] elpa/orgit efde657483 10/76: magit-log-export: use correct variable, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 455dac3422 15/76: orgit-export-alist: add gitlab and remove gitorious, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 2330a8cdb5 20/76: orgit-log-store: remove old kludges and todos, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 718343d40d 22/76: orgit-{log, rev}-open: use -let, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit adcfef22dc 28/76: add README.md, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit d91d16903d 27/76: support relative paths when opening and exporting links, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit c91e662ace 30/76: Add completion functions, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 022687eb02 31/76: Move note about org-magit.el to help elx-license, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 14a4c8a245 44/76: orgit-store-reference: New option, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 158438c540 54/76: Fix typos, ELPA Syncer, 2022/01/13