diff options
| author | Kyle Meyer <kyle@kyleam.com> | 2015-08-24 09:43:19 -0400 |
|---|---|---|
| committer | Kyle Meyer <kyle@kyleam.com> | 2015-08-24 09:48:40 -0400 |
| commit | 2ff9b5df48358fd7704a8af6cd97a5d183eea74c (patch) | |
| tree | 65c4e18b850db2b63e253d87849a3dd28a7a3e61 /lisp | |
| parent | a01717ec56231a7df25fb0d94f0d58f22e2f18b8 (diff) | |
magit-blame: widen before blaming
The calls to git blame assume that the buffer corresponds to the entire
file (at least for now).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/magit-blame.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/magit-blame.el b/lisp/magit-blame.el index d7b6cdd..30f6f15 100644 --- a/lisp/magit-blame.el +++ b/lisp/magit-blame.el @@ -223,6 +223,7 @@ only arguments available from `magit-blame-popup' should be used. (if revision (magit-find-file revision file) (find-file (expand-file-name file))) + (widen) (when line (setq magit-blame-recursive-p t) (goto-char (point-min)) |
