diff options
author | Russell Belfer <rb@github.com> | 2014-04-10 22:31:01 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-04-17 14:56:41 -0700 |
commit | 7d4908724fd7d4d8e096b4faf2c652ba5b77644e (patch) | |
tree | 2fcd09e7e040607c124f6e658c31f33e1aa1868a /src/submodule.c | |
parent | 1fa17b5c92cb92a2785fba403b87525169b205c0 (diff) | |
download | libgit2-7d4908724fd7d4d8e096b4faf2c652ba5b77644e.tar.gz |
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.
Diffstat (limited to 'src/submodule.c')
-rw-r--r-- | src/submodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/submodule.c b/src/submodule.c index 95d3d0d9c..5ddbfe828 100644 --- a/src/submodule.c +++ b/src/submodule.c @@ -1693,8 +1693,6 @@ static int submodule_cache_refresh(git_submodule_cache *cache, int refresh) update_gitmod = (wd != NULL) ? git_futils_filestamp_check(&cache->gitmodules_stamp, path.ptr) : (cache->gitmodules_stamp.mtime != 0); - if (update_gitmod < 0) - giterr_clear(); } /* clear submodule flags that are to be refreshed */ |