diff options
Diffstat (limited to 'src/sortedcache.c')
-rw-r--r-- | src/sortedcache.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sortedcache.c b/src/sortedcache.c index 625322034..c6b226153 100644 --- a/src/sortedcache.c +++ b/src/sortedcache.c @@ -232,9 +232,8 @@ unlock: void git_sortedcache_updated(git_sortedcache *sc) { - /* update filestamp to latest value */ - if (git_futils_filestamp_check(&sc->stamp, sc->path) < 0) - giterr_clear(); + /* update filestamp to latest value */ + git_futils_filestamp_check(&sc->stamp, sc->path); } /* release all items in sorted cache */ |