summaryrefslogtreecommitdiff
path: root/src/git/commit.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-12-31 13:27:51 -0800
committerShawn O. Pearce <spearce@spearce.org>2008-12-31 13:37:00 -0800
commit5614dc18f626902796fee9c87f1f703694e59295 (patch)
treed4d88ab7e48adcc92099c41b7a5e85d580f9d77f /src/git/commit.h
parent028ef0de72da1ad4d1b2ee4a125ede81e3f2ebed (diff)
downloadlibgit2-5614dc18f626902796fee9c87f1f703694e59295.tar.gz
Add basic locking to the git_odb structure
We grab the lock while accessing the alternates list, ensuring that we only initialize it once for the given git_odb. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/git/commit.h')
0 files changed, 0 insertions, 0 deletions