magit/magit — pull request #906 by praet (2013-09-18 08:36:38+00:00)
Title: `magit-refresh-wrapper': only refresh status buffer if it has company

Among other things, commit 03d99ca0 changed `magit-refresh-wrapper' to
refresh the status buffer even if `magit-refresh-needing-buffers' is nil.

Given that this causes point to jump to the beginning of the status
buffer every time we open a file from it, and the change wasn't
properly, revert it.

Fixes #687.

Signed-off-by: Pieter Praet