]> git.proxmox.com Git - libgit2.git/commit - tests/libgit2/threads/iterator.c
Attribute file cache refactor
authorRussell Belfer <rb@github.com>
Fri, 11 Apr 2014 05:31:01 +0000 (22:31 -0700)
committerRussell Belfer <rb@github.com>
Thu, 17 Apr 2014 21:56:41 +0000 (14:56 -0700)
commit7d4908724fd7d4d8e096b4faf2c652ba5b77644e
tree2fcd09e7e040607c124f6e658c31f33e1aa1868a
parent1fa17b5c92cb92a2785fba403b87525169b205c0
Attribute file cache refactor

This is a big refactoring of the attribute file cache to be a bit
simpler which in turn makes it easier to enforce a lock around any
updates to the cache so that it can be used in a threaded env.
Tons of changes to the attributes and ignores code.
18 files changed:
src/attr.c
src/attr.h
src/attr_file.c
src/attr_file.h
src/attrcache.c [new file with mode: 0644]
src/attrcache.h
src/fileops.c
src/fileops.h
src/ignore.c
src/index.c
src/sortedcache.c
src/submodule.c
tests/attr/file.c
tests/attr/lookup.c
tests/threads/diff.c
tests/threads/iterator.c [new file with mode: 0644]
tests/threads/thread_helpers.c [new file with mode: 0644]
tests/threads/thread_helpers.h [new file with mode: 0644]