Fix some int/unsigned int warnings

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use ++i instead of i++

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use .empty() instead of .size() == 0

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

Trimming of values is already done in GetConfigValue by default.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Move IsEmpty check into GetCPCode method

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Move cursor to top of edit box if there is a prefilled commit message

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

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sync FormatTextInRichEditControl with TortoiseSVN

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Drop unused GetProjectNameFromURL method

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Simplify code
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix activation order of Settings Dialogs2 dialog

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed issue #1979: Comments are not stripped from commit message

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly shut down mutex
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Make sure mutex is always initialized

(fixes issue #1976)
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Make sure git.exe is re-checked when pressing Apply/OK

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Do not fallback to search installed git or PATH in Settings Page

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