]> git.proxmox.com Git - libgit2.git/commit
Add basic locking to the git_odb structure
authorShawn O. Pearce <spearce@spearce.org>
Wed, 31 Dec 2008 21:27:51 +0000 (13:27 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 31 Dec 2008 21:37:00 +0000 (13:37 -0800)
commit5614dc18f626902796fee9c87f1f703694e59295
treed4d88ab7e48adcc92099c41b7a5e85d580f9d77f
parent028ef0de72da1ad4d1b2ee4a125ede81e3f2ebed
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>
src/odb.c