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/fileops.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/fileops.c')
| -rw-r--r-- | src/fileops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fileops.c b/src/fileops.c index 5709499b0..d8d819151 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -804,10 +804,8 @@ int git_futils_filestamp_check( if (stamp == NULL) return 1; - if (p_stat(path, &st) < 0) { - giterr_set(GITERR_OS, "Could not stat '%s'", path); + if (p_stat(path, &st) < 0) return GIT_ENOTFOUND; - } if (stamp->mtime == (git_time_t)st.st_mtime && stamp->size == (git_off_t)st.st_size && |
