Use libgit2 searchpath for finding config files
commitbb3782502e3ac69c42194bd574ac279f72aaf127
authorSven Strickroth <email@cs-ware.de>
Sun, 7 Apr 2013 13:32:34 +0000 (7 15:32 +0200)
committerSven Strickroth <email@cs-ware.de>
Sun, 7 Apr 2013 13:32:34 +0000 (7 15:32 +0200)
treef87c7fca79a9eafd80401a37004930cb4327f59e
parentd8e4094b84761cb6a3e23f3801dee32e902b7178
Use libgit2 searchpath for finding config files

This also improves the case git.exe isn't on the path and system gitattributes are used (up to now libgit2 did not know where to find the attributes file).

This only works for use with git_repository.

This isn't used for TGitCache (GitIndex), because we need to know which files to use exactly (for caching purposes).

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/Git/Git.cpp
src/TortoiseProc/CommitDlg.cpp
src/TortoiseProc/GitProgressList.cpp