diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-08-23 01:55:58 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-08-23 01:55:58 -0400 |
commit | b53e5cf1af276d8e3ba2e1ed8bff7bf0e4d3ecf3 (patch) | |
tree | b0da8fbfe7ba267850786efb74f4cec6222ec89f | |
parent | 6d1863a20bc4c71c38694ba83227b5145f8e2882 (diff) | |
download | emacs.d-b53e5cf1af276d8e3ba2e1ed8bff7bf0e4d3ecf3.tar.gz |
magit-reset-file: Add revision buffer as default
-rw-r--r-- | lisp/init-git.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index 1e89b16..5c18d66 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -227,7 +227,7 @@ instead. \(git reset REV -- FILE) \(git checkout REV -- FILE)" (interactive - (let ((rev (magit-read-branch-or-commit "Revision"))) + (let ((rev (magit-read-branch-or-commit "Revision" magit-buffer-revision))) (list rev (magit-read-file-from-rev rev "File") current-prefix-arg))) (magit-with-toplevel (magit-run-git (if checkout "checkout" "reset") |