Code

Refresh the index when opening the status view to avoid "empty diffs"