dim: Use mtime, not ctime
PATCH 1/1 dim: Use mtime, not ctime
mtime is when the file contents last changed, ctime when attributes in the inode last changed. We want the former. For some reason ctime in my rr-cache is always very recent.
Signed-off-by Daniel Vetter <[email protected]>
--- dim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dim +1 -1
@@ -523,7 +523,7 @@ function commit_rerere_cache git rm $file &> /dev/null fi done - find rr-cache/ -ctime -1 -type f -print0 | xargs -0 git add > /dev/null + find rr-cache/ -mtime -1 -type f -print0 | xargs -0 git add > /dev/null git rm rr-cache/rr-cache &> /dev/null || true if git commit -m "$time: $integration_branch rerere cache update" >& /dev/null; then echo -n "New commit. "
Signature · 6 lines
2.13.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx