summaryrefslogtreecommitdiff
path: root/lisp/km-magit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2019-02-16 01:00:29 -0500
committerKyle Meyer <kyle@kyleam.com>2019-02-16 01:16:47 -0500
commitaa6df6b5956cb0736d928f42a683742bdd830786 (patch)
tree50b1a9482a643d702240764887169dd3bbf64f09 /lisp/km-magit.el
parentd20cdca50157b602f249642ff8244b0e0fc7643d (diff)
downloademacs.d-aa6df6b5956cb0736d928f42a683742bdd830786.tar.gz
Drop km/magit-stash-edit-message
I haven't used this since I added it.
Diffstat (limited to 'lisp/km-magit.el')
-rw-r--r--lisp/km-magit.el12
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 332dc30..9603171 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -553,18 +553,6 @@ argument. Interactively, this can be accessed using the command
(interactive "P")
(km/magit-diff-visit-file prev-rev t))
-(defun km/magit-stash-edit-message (stash message)
- "Change STASH's message to MESSAGE."
- (interactive
- (let* ((stash (magit-read-stash "Rename" t))
- (old-msg (magit-git-string "show" "-s" "--format=%s" stash)))
- (list stash (magit-read-string "Stash message" old-msg))))
- (let ((commit (magit-rev-parse stash))
- (inhibit-magit-refresh t))
- (magit-stash-drop stash)
- (magit-stash-store message "refs/stash" commit))
- (magit-refresh))
-
(defun km/magit-log-current (&optional args files)
"Like `magit-log-current', but if head is detached, use \"HEAD\"."
(interactive (magit-log-arguments))