[PATCH] dim: Curb gc enthusiasm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It also wants to delete drm-rerere/nightly.conf when that hasn't been
touched in a while. Prevent that in the future.

Chris Wilson hit that snag, which then seems to have percolated to
some other committers.

Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
Acked-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index a63000fb67a8..db11d3f1cc68 100755
--- a/dim
+++ b/dim
@@ -554,7 +554,7 @@ function commit_rerere_cache
 			return 1
 		fi
 		git add ./*.patch >& /dev/null || true
-		for file  in $(git ls-files); do
+		for file  in $(git ls-files | grep ^rr-cache); do
 			if ! git log --since="60 days ago" --name-only -- $file | grep $file &> /dev/null; then
 				git rm $file &> /dev/null || true
 			fi
-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux