magit/magit — pull request #1247 by abo-abo (2014-02-25 09:00:33+00:00)
Title: magit.el (magit-visit-item): reveal folded outlines

* magit.el (magit--ensure-visible): New function.

Will reveal the diff if it's hidden in an outline.
This is useful for users of `org-mode' and `outline-minor-mode'.