TGitCache: Do not hash files with file size greater than 10 MiB

(fixes issue #2240)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Allow limit to be configured by users

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Merge branch 'limit-tgitcache'
Add basic support for git filters

TODO: expansion of %f not working so far

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Do not add git filter to TGitCache and TortoiseShell

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

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Start new processes with our prepared environment variables

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Support big files: Read stdout asynchronously

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Pipe filters through sh.exe

This is needed as long as TortoiseGit depends on git.exe, because otherwise shell scripts cannot be used as filters (i.e., they are not Win32 applications).

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Add support for reading stderr

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Refactored: Deduplicate code and more information encapsulation

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fixed issue #1596: Added support for clean/smudge filters

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