git-gui: bring wish process to front on Mac
git-gui: bring wish process to front on Mac

On Mac OS X, any application that is started from the Terminal will open
behind all running applications; as a work-around, manually bring ourselves
to the front. (Stolen from gitk, commit 76bf6ff93e.)

We do this as the very first thing, so that any message boxes that might pop
up during the rest of the startup sequence are actually seen by the user.

[PT: added catch and moved down to ensure Tk has been loaded]

Signed-off-by: Stefan Haller <eb0877843acc39f8ef6f7269937dee931c372d23@haller-berlin.de>
Signed-off-by: Pat Thoyts <fe43a83262eef1680511f524a1e74d43c633cffe@users.sourceforge.net>

destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git