diff options
author | Russell Belfer <rb@github.com> | 2014-04-01 10:22:51 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-04-01 10:22:51 -0700 |
commit | aa78c9ba778d8c7c2c62f875b974ae53ba90d12b (patch) | |
tree | 69670c85b09a7e2d32e178c03a099fca508034a5 /tests/diff/diffiter.c | |
parent | eeeb9654f064e1047ef8f3cb5a38636133426cdd (diff) | |
download | libgit2-aa78c9ba778d8c7c2c62f875b974ae53ba90d12b.tar.gz |
Minor submodule cache locking improvements
This improvement the management of the lock around submodule cache
updates slightly, using the lock to make sure that foreach can
safely make a snapshot of all existing submodules and making sure
that git_submodule_add_setup also grabs a lock before inserting
the new submodule. Cache initialization / refresh should already
have been holding the lock correctly as it adds submodules.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions