[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/add-vdiff 90374e7 223/258: vdiff-magit: Port dwim-show-on
From: |
Justin Burkett |
Subject: |
[elpa] scratch/add-vdiff 90374e7 223/258: vdiff-magit: Port dwim-show-on-hunks |
Date: |
Wed, 17 May 2017 08:13:57 -0400 (EDT) |
branch: scratch/add-vdiff
commit 90374e72a6fc4bd4abdec5d19e170b28c6d3cab3
Author: Justin Burkett <address@hidden>
Commit: Justin Burkett <address@hidden>
vdiff-magit: Port dwim-show-on-hunks
---
vdiff-magit.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/vdiff-magit.el b/vdiff-magit.el
index 9c66a2e..9f20ccb 100644
--- a/vdiff-magit.el
+++ b/vdiff-magit.el
@@ -52,15 +52,15 @@
;; :options '(magit-ediff-cleanup-auxiliary-buffers
;; magit-ediff-restore-previous-winconf))
-;; (defcustom magit-ediff-dwim-show-on-hunks nil
-;; "Whether `magit-ediff-dwim' runs show variants on hunks.
-;; If non-nil, `magit-ediff-show-staged' or
-;; `vdiff-magit-show-unstaged' are called based on what section the
-;; hunk is in. Otherwise, `magit-ediff-dwim' runs
-;; `magit-ediff-stage' when point is on an uncommitted hunk."
-;; :package-version '(magit . "2.2.0")
-;; :group 'magit-ediff
-;; :type 'boolean)
+(defcustom vdiff-magit-dwim-show-on-hunks nil
+ "Whether `vdiff-magit-dwim' runs show variants on hunks.
+If non-nil, `vdiff-magit-show-staged' or
+`vdiff-magit-show-unstaged' are called based on what section the
+hunk is in. Otherwise, `vdiff-magit-dwim' runs
+`vdiff-magit-stage' when point is on an uncommitted hunk."
+ ;; :package-version '(magit . "2.2.0")
+ :group 'vdiff-magit
+ :type 'boolean)
(defcustom vdiff-magit-show-stash-with-index t
"Whether `vdiff-magit-show-stash' shows the state of the index.
@@ -90,7 +90,7 @@ address@hidden@{N}. Along with any unstaged changes, changes
in the index commit, address@hidden, will be shown in this
comparison unless they conflicted with changes in the working
tree at the time of stashing."
- :package-version '(magit . "2.6.0")
+ ;; :package-version '(magit . "2.6.0")
:group 'vdiff-magit
:type 'boolean)
@@ -302,7 +302,7 @@ mind at all, then it asks the user for a command to run."
(file (magit-current-file))
command revA revB)
(pcase range
- ((and (guard (not magit-ediff-dwim-show-on-hunks))
+ ((and (guard (not vdiff-magit-dwim-show-on-hunks))
(or `unstaged `staged))
(setq command (if (magit-anything-unmerged-p)
#'vdiff-magit-resolve
@@ -326,7 +326,7 @@ mind at all, then it asks the user for a command to run."
(`committed (-let [(a b) (magit-ediff-compare--read-revisions
(car magit-refresh-args))]
(setq revA a revB b)))
- ((guard (not magit-ediff-dwim-show-on-hunks))
+ ((guard (not vdiff-magit-dwim-show-on-hunks))
(setq command #'vdiff-magit-stage))
(`unstaged (setq command #'vdiff-magit-show-unstaged))
(`staged (setq command #'vdiff-magit-show-staged))
- [elpa] scratch/add-vdiff 3d38f6c 040/258: Fix line endings, (continued)
- [elpa] scratch/add-vdiff 3d38f6c 040/258: Fix line endings, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 5031c90 145/258: Finish new line translation logic, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8c78e58 170/258: Fix compiler warning, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 9890b81 181/258: Fix weird vscroll problem, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 9454053 187/258: Use window-text-width instead of window-width, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff e6e834f 196/258: Don't refresh on buffer switch, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 5043ca3 168/258: Wrap global state into session object, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff af5ddce 203/258: Remove vdiff-sync-and-center, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 7f100a3 210/258: Fix vdiff-refresh callback function, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 1478a02 219/258: vdiff-magit: Make group, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 90374e7 223/258: vdiff-magit: Port dwim-show-on-hunks,
Justin Burkett <=
- [elpa] scratch/add-vdiff 219d765 225/258: vdiff-magit: Simplify stage, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 05cbdee 227/258: vdiff: Allow buffers to be killed in quit, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 98e1add 216/258: vdiff-magit: Port show-staged, show-unstaged and stage, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff e5d3633 226/258: Revert "vdiff-magit: Simplify stage", Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff de84cfd 232/258: vdiff-magit: Fix a function reference in dwim, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 7a3e456 234/258: vdiff-magit: Cleanup after stage, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 52d49ba 214/258: Merge branch 'magit' into magit2, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff ff1fbc4 248/258: vdiff: Generate ancestor buffer in merge-conflict, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff d243767 253/258: README: Add entry points and vimdiff bindings, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 79b3434 052/258: Make some arg names more consistent, Justin Burkett, 2017/05/17