Oops. It caused some concerns from people running dim rebuild-tip. Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> --- dim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dim b/dim index dca73687b69e..1849a0d0e6ba 100755 --- a/dim +++ b/dim @@ -516,10 +516,9 @@ function commit_rerere_cache rm $(rr_cache_dir)/rr-cache -Rf &> /dev/null || true cp $(rr_cache_dir)/* rr-cache -r --preserve=timestamps git add ./*.patch >& /dev/null || true - for file in $(git ls-files); do + for file in $(find rr-cache/); do if ! git log --since="60 days ago" --name-only -- $file | grep $file &> /dev/null; then git rm $file &> /dev/null - echo deleting $file fi done find rr-cache/ -ctime -1 -type f -print0 | xargs -0 git add > /dev/null -- 2.13.3 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx