Execute pre push hook just before executing git push and not on loading the dialog

This makes the pre push hook on the push dialog behave the same as on the sync dialog.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Call post push hook even if push wasn't successful

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Add start and pre commit hooks

(fixes issue #1605)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Do not use 100% CPU while waiting for hook scripts to finish

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly report errors of CreateFile

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Minor code cleanup

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Select item in explorer when exploring to

Based on 60feae4046a49be28580017d0f8212ff142cfd42 and 630af7199f928cf92da8b74ae6d0cf855b4e28af.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix crash when building find string location bar if Wrap Long Lines is enabled

Based on TortoiseSVN revision 25603

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>