diff mbox

dim: remove debug output

Message ID 20170724141723.7698-1-daniel.vetter@ffwll.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Vetter July 24, 2017, 2:17 p.m. UTC
Oops. It caused some concerns from people running dim rebuild-tip.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 dim | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

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