This adds the per-thread global variable git_errno to the system, which callers can examine to get information about an error. Two helper functions are added to reduce LoC-count for the library code itself. Also, some exceptions are made for running sparse on GIT_TLS definitions, since it doesn't grok thread-local variables at all. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
os | Loading commit data... | |
commit.h | Loading commit data... | |
common.h | Loading commit data... | |
config.h.in | Loading commit data... | |
errors.h | Loading commit data... | |
odb.h | Loading commit data... | |
oid.h | Loading commit data... | |
revwalk.h | Loading commit data... | |
thread-utils.h | Loading commit data... | |
zlib.h | Loading commit data... |