[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/orgit faf8a24c87 18/76: orgit-rev-store: preserve refs and
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/orgit faf8a24c87 18/76: orgit-rev-store: preserve refs and abbreviate hashes |
Date: |
Thu, 13 Jan 2022 13:58:44 -0500 (EST) |
branch: elpa/orgit
commit faf8a24c87d02665ba8ed17808feeab0d778e8ca
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
orgit-rev-store: preserve refs and abbreviate hashes
---
orgit.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/orgit.el b/orgit.el
index f6d6c92607..d198e0420c 100644
--- a/orgit.el
+++ b/orgit.el
@@ -197,7 +197,9 @@ If all of the above fails then `orgit-export' raises an
error."
(defun orgit-rev-store ()
(when (eq major-mode 'magit-revision-mode)
(let ((repo (abbreviate-file-name default-directory))
- (rev (magit-rev-parse (car magit-refresh-args))))
+ (rev (car magit-refresh-args)))
+ (unless (magit-ref-p rev)
+ (setq rev (magit-rev-abbrev rev)))
(org-store-link-props
:type "orgit-rev"
:link (format "orgit-rev:%s::%s" repo rev)
- [nongnu] elpa/orgit 022687eb02 31/76: Move note about org-magit.el to help elx-license, (continued)
- [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
- [nongnu] elpa/orgit 0bec3ea912 03/76: orgit-log-{store, open}: kludge to support version 2.1.0 of Magit, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 0881cf9633 05/76: complete Package-Requires list, add Homepage keyword, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 55292d377c 13/76: replace term commit with revision, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 190aa8e3ad 17/76: bump dependencies and copyright, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 731c5cb4f1 16/76: orgit-status-open: adapt to change to magit-status-internal, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 44a05c55d5 07/76: orgit-rev-store: Always use commit SHA-1 hash, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit e0859c3c71 08/76: autoload functions where necessary, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit faf8a24c87 18/76: orgit-rev-store: preserve refs and abbreviate hashes,
ELPA Syncer <=
- [nongnu] elpa/orgit 6b2eba9c48 34/76: Changing heading of library footer section, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ba15371536 36/76: Update for Emacs v2.90.0, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 2456436a7e 48/76: orgit-rev-store: Store all marked commits, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 1e578f8cf9 53/76: Define org-link-store-props as an alias for org-store-link-props, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ad3b8c4182 04/76: orgit-rev-store: support version 2.1.0 of Magit, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 357d037307 09/76: bump numbers, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 0938f83a07 12/76: Merge pull request #5 from Malabarba/master, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 12bfadf603 23/76: orgit-{log, rev}-open: call magit commands with proper arguments, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 1ad6bd8e3e 37/76: Bump dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 002f3ee6ea 38/76: orgit-export-alist: Update orgmode.org entry, ELPA Syncer, 2022/01/13