[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 630ada42cb 6/7: magit-extras.el: Rearrange a bi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 630ada42cb 6/7: magit-extras.el: Rearrange a bit |
Date: |
Tue, 1 Mar 2022 08:58:18 -0500 (EST) |
branch: elpa/git-commit
commit 630ada42cbabf4b437519b9dc5086ea1d6b61b8d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-extras.el: Rearrange a bit
---
lisp/magit-extras.el | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/lisp/magit-extras.el b/lisp/magit-extras.el
index 95aaf966b9..18f99da3cf 100644
--- a/lisp/magit-extras.el
+++ b/lisp/magit-extras.el
@@ -47,25 +47,8 @@
"Additional functionality for Magit."
:group 'magit-extensions)
-;;; External Tools
-
-(defcustom magit-gitk-executable
- (or (and (eq system-type 'windows-nt)
- (let ((exe (magit-git-string
- "-c" "alias.X=!x() { which \"$1\" | cygpath -mf -; }; x"
- "X" "gitk.exe")))
- (and exe (file-executable-p exe) exe)))
- (executable-find "gitk") "gitk")
- "The Gitk executable."
- :group 'magit-extras
- :set-after '(magit-git-executable)
- :type 'string)
-
-;;;###autoload
-(defun magit-run-git-gui ()
- "Run `git gui' for the current git repository."
- (interactive)
- (magit-with-toplevel (magit-process-git 0 "gui")))
+;;; Git Tools
+;;;; Git-Gui
;;;###autoload
(defun magit-run-git-gui-blame (commit filename &optional linenum)
@@ -92,6 +75,26 @@ blame to center around the line point is on."
commit
filename)))
+;;;; Gitk
+
+(defcustom magit-gitk-executable
+ (or (and (eq system-type 'windows-nt)
+ (let ((exe (magit-git-string
+ "-c" "alias.X=!x() { which \"$1\" | cygpath -mf -; }; x"
+ "X" "gitk.exe")))
+ (and exe (file-executable-p exe) exe)))
+ (executable-find "gitk") "gitk")
+ "The Gitk executable."
+ :group 'magit-extras
+ :set-after '(magit-git-executable)
+ :type 'string)
+
+;;;###autoload
+(defun magit-run-git-gui ()
+ "Run `git gui' for the current git repository."
+ (interactive)
+ (magit-with-toplevel (magit-process-git 0 "gui")))
+
;;;###autoload
(defun magit-run-gitk ()
"Run `gitk' in the current repository."
- [nongnu] elpa/git-commit updated (0f96d39834 -> 0ab892a3b4), ELPA Syncer, 2022/03/01
- [nongnu] elpa/git-commit b5c0882a4f 2/7: magit-get-boolean: Support using scope argument, ELPA Syncer, 2022/03/01
- [nongnu] elpa/git-commit 064a047932 1/7: transient-infix-read: Use same macros as default around method, ELPA Syncer, 2022/03/01
- [nongnu] elpa/git-commit 72ee06c7ea 5/7: magit-read-unmerged-file: New function, ELPA Syncer, 2022/03/01
- [nongnu] elpa/git-commit 9c056d41a6 3/7: magit--git-variable:choices: Support changing global value, ELPA Syncer, 2022/03/01
- [nongnu] elpa/git-commit a2ef67a415 4/7: magit--git-variable:boolean: New class, ELPA Syncer, 2022/03/01
- [nongnu] elpa/git-commit 630ada42cb 6/7: magit-extras.el: Rearrange a bit,
ELPA Syncer <=
- [nongnu] elpa/git-commit 0ab892a3b4 7/7: magit-git-mergetool: New command, ELPA Syncer, 2022/03/01