diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-12-08 19:28:01 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-05-13 14:09:23 +0100 |
commit | ce488be46e4cd2aeeb69c39a062fae1ba9a302f6 (patch) | |
tree | 86590bcb9137e147f5fd0c290de27363cc5772cc /tests/libgit2/diff/blob.c | |
parent | 4be63a68667d3c75a3da36b3bc8045459a360906 (diff) | |
download | libgit2-ce488be46e4cd2aeeb69c39a062fae1ba9a302f6.tar.gz |
errors: don't rely on tls data working
Thread-local storage data may fail to initialize; in this case, do not
try to set the error message into it. When the thread state has not
been initialized, return a hardcoded message to that affect.
Diffstat (limited to 'tests/libgit2/diff/blob.c')
0 files changed, 0 insertions, 0 deletions