From b53e5cf1af276d8e3ba2e1ed8bff7bf0e4d3ecf3 Mon Sep 17 00:00:00 2001
From: Kyle Meyer <kyle@kyleam.com>
Date: Sun, 23 Aug 2015 01:55:58 -0400
Subject: magit-reset-file: Add revision buffer as default

---
 lisp/init-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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")
-- 
cgit v1.2.3