---
 magit.el |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/magit.el b/magit.el
index 9f7fb2f..73d4259 100644
--- a/magit.el
+++ b/magit.el
@@ -522,8 +522,11 @@ Many Magit faces inherit from this one by default."
                             def-beg)))
     (if (not beg)
        nil
-      (let ((end (magit-read-rev (format "%s end" op) def-end)))
-       (cons beg end)))))
+      (save-match-data
+       (if (string-match "^\\(.+\\)\\.\\.\\(.+\\)$" beg)
+           (cons (match-string 1 beg) (match-string 2 beg))
+         (let ((end (magit-read-rev (format "%s end" op) def-end)))
+           (cons beg end)))))))
 
 (defun magit-rev-to-git (rev)
   (or rev
-- 
1.6.3.3

To unsubscribe from this group, send email to magit+unsubscribegooglegroups.com 
or reply to this email with the words "REMOVE ME" as the subject.

Reply via email to