[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/orgit 12bfadf603 23/76: orgit-{log, rev}-open: call magit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/orgit 12bfadf603 23/76: orgit-{log, rev}-open: call magit commands with proper arguments |
Date: |
Thu, 13 Jan 2022 13:58:44 -0500 (EST) |
branch: elpa/orgit
commit 12bfadf603d8a1f616a1bdac5f909a0c20e6aba4
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
orgit-{log,rev}-open: call magit commands with proper arguments
When called non-interactively, `magit-log' and `magit-show-commit' now
expect the arguments to passed explicitly. It's no longer enough to
just pass the revision.
---
orgit.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/orgit.el b/orgit.el
index 5700f73626..f305d68b37 100644
--- a/orgit.el
+++ b/orgit.el
@@ -174,7 +174,8 @@ If all of the above fails then `orgit-export' raises an
error."
(defun orgit-log-open (path)
(-let [(default-directory rev)
(split-string path "::")]
- (magit-log (list rev))))
+ (apply #'magit-log
+ (cons (list rev) (magit-log-arguments)))))
;;;###autoload
(defun orgit-log-export (path desc format)
@@ -203,7 +204,8 @@ If all of the above fails then `orgit-export' raises an
error."
(defun orgit-rev-open (path)
(-let [(default-directory rev)
(split-string path "::")]
- (magit-show-commit rev)))
+ (apply #'magit-show-commit
+ (cons rev (magit-diff-arguments)))))
;;;###autoload
(defun orgit-rev-export (path desc format)
- [nongnu] elpa/orgit 44a05c55d5 07/76: orgit-rev-store: Always use commit SHA-1 hash, (continued)
- [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, 2022/01/13
- [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 <=
- [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
- [nongnu] elpa/orgit f23a95d04a 58/76: Use lexical bindings, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit e7cddf39e3 56/76: Bump dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 3c83adc34a 62/76: orgit--format-export: New function, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 9f09553c09 63/76: orgit-status-store: Account for topics, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 7105c135ce 70/76: Add SPDX-License-Identifier library header, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 26242895ef 72/76: Bump dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 66367d6bfc 76/76: Release version 1.7.2, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 1b1c8d6963 26/76: use org-link-set-parameters when available, ELPA Syncer, 2022/01/13