diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-02-16 00:58:05 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-02-16 01:16:47 -0500 |
commit | 797591e74c023391796f34f3c6f992ed96873350 (patch) | |
tree | 271d64f129f04a7d5e012ba2c6cd4e33d2289452 /lisp | |
parent | f08b64e634bbec8d861024c3cc1c04189464457a (diff) | |
download | emacs.d-797591e74c023391796f34f3c6f992ed96873350.tar.gz |
magit: Update for transient branch merge
I'm not incredibly confident that I performed a faithful conversion,
but the things I've tested seem to be working. Keep the popup
configuration around since I still use it for guix.el and
snakemake.el.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/km-magit.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el index 9603171..fcb3809 100644 --- a/lisp/km-magit.el +++ b/lisp/km-magit.el @@ -121,7 +121,7 @@ branch." \n(git merge --no-edit --ff-only <upstream>)" (interactive) (--if-let (magit-get-upstream-branch) - (magit-merge it '("--ff-only")) + (magit-merge-plain it '("--ff-only")) (user-error "No upstream branch"))) ;;;###autoload @@ -556,8 +556,8 @@ argument. Interactively, this can be accessed using the command (defun km/magit-log-current (&optional args files) "Like `magit-log-current', but if head is detached, use \"HEAD\"." (interactive (magit-log-arguments)) - (magit-log (list (or (magit-get-current-branch) "HEAD")) - args files)) + (magit-log-current (list (or (magit-get-current-branch) "HEAD")) + args files)) (defun km/magit-log-dwim (&optional args files) (interactive (magit-log-arguments)) @@ -587,8 +587,8 @@ argument. Interactively, this can be accessed using the command (and (magit-rev-verify (concat it "^2")) (concat it "^-1")))))) (if range - (magit-log (list range) args files) - (call-interactively #'magit-log)))) + (magit-git-log (list range) args files) + (call-interactively #'magit-log-current)))) ;;;###autoload (defun km/magit-log-occurrence (beg end) |