Add option to refresh local modifications when switching back to thg
Created originally on Bitbucket by 536886 (Russell Hind)
If you make modifications an an external app and then switch to thg, it doesn't automatically refresh the local modifications window. There is an option to have this done automatically after thg commands but please can an option be added so that it's done when you switch back to thg.
Without this, it can lead to commits that have to be amended as the window is sometimes out of date.