Dropped unused code

Signed-off-by: Sven Strickroth <email@cs-ware.de>
gitdll: Always throw a char ptr.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
gitdll: Try to include last error in exception message on exit()

Signed-off-by: Sven Strickroth <email@cs-ware.de>
gitdll: Use own die_is_recursing and reset counter for every new error

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Merge branch 'gitdll-error-reporting'
Dragging a file in SyncDlg could lead to crash

The SyncDlg calculates the file-list on its own, so m_arStatusArray is empty.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Synced RemoteCacheLink.* and CacheInterface.* with TortoiseSVN

Based on TortoiseSVN revision #24157.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
If the GetLongPathName() API fails, return the original path without trying to handle the path further

Based on TortoiseSVN revision #24431.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Dropped unused includes

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed a warning

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Introduce CTraceToOutputDebugString and replace calls to ATLTRACE with calls to CTraceToOutputDebugString

Based on TortoiseSVN code.

Trace calls can be viewed with VS debugger or DbgView of the SysInternals Suite.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Trace calls to git.exe

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Merge branch 'CTraceToOutputDebugString'
Refactored: Deduplicate code

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Leave room for the terminating 0 char and use the _countof() macro instead of the fixed value

Based on TortoiseSVN revision 24439

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