Fixed issue #2187: Misshowed branch on many dialogs in the new version

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly shutdown branch loading thread

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Add missing virtual destructor

Found by a CppCat run.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix code for IBM037

Found by a CppCat run.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly show reverse diff to working tree

Found by a CppCat run.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix if clauses which are always false

Found by a CppCat run.

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

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix "if (A || A)"

Found in a code review some time ago, but reminded by a CppCat run.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Refactored: Renamed defines and added some comments

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly get FillBasedOnIndexFlags if subfolder is selected

(fixes issue #2191)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Also fix FillBasedOnIndexFlags for matching single files

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Show message box when libgit fails to walk revision to produce the log list

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