TGitCache: Fail faster if files are too small
commit59db47ecd9ad58d27cf74e5283cda3a13d76ff56
authorSven Strickroth <email@cs-ware.de>
Wed, 20 Feb 2013 15:58:00 +0000 (20 16:58 +0100)
committerSven Strickroth <email@cs-ware.de>
Wed, 20 Feb 2013 15:58:20 +0000 (20 16:58 +0100)
treecd4787caf7734a89ff21c204b444fb0220b1f461
parent3cf3ef98f0a802b31f054c7988ce738d60935b35
TGitCache: Fail faster if files are too small

Also prevent allocation of 0 length memory.

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