summaryrefslogtreecommitdiffstats
path: root/tests/testparse.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-30 12:22:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-30 12:27:29 -0700
commit2878f32a224e02ed76cff6b799883f4e319f9e3a (patch)
tree3a71e5ad5be27509641b26c716f69ff1f9619479 /tests/testparse.cpp
parent1c42750cdf08e425a9f9000a1784a868bf797ef8 (diff)
downloadsubsurface-2878f32a224e02ed76cff6b799883f4e319f9e3a.tar.gz
Improve parsing of git error message
This is rather fragile code, and the capitalization of the error message in libgit2 changed at some point. But commit 794739b4c0 ("strstr is a case sensitive compare") didn't really fix the problem - as it broke that same check for older libgit2 versions. Instead use our new helper function to make it work with libgit2 old and new. Also, add some more error output so the next time we run into this it's more obvious what broke and where. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testparse.cpp')
0 files changed, 0 insertions, 0 deletions