Improve type safety

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 for merge-base

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 for deleting local references

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Force parameter is never used

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 for GetOneFile

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 for cat command

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Improve error handling of GetOneFile

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 for IsBranchTagNameUnique

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 for BranchTagExists

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 to get branch list

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed issue #2141: libgit2 still added the file with mixing EOL, while autocrlf and safecrlf are true

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>

Conflicts:
	src/Changelog.txt
Merge branch 'libgit2'
Deduplicate code

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Updated legacy TortoisePLink binaries

Based on TortoiseSVN source code.

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