Skip to contentSkip to conversation

dim: Curb gc enthusiasm

PATCH In review Daniel Vetter 2 participants 2 messages Sep 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dim: Curb gc enthusiasm

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.

---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dim +1 -1
index a63000fb67a8..db11d3f1cc68 100755
@@ -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
Signature · 6 lines
2.14.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by on v1 1/1
#1 lore raw

Quoting Daniel Vetter (2017-09-26 09:41:37)

Quoted 10 lines

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.

It would have prevented my earlier distress and several "rm -rf; dim setup; swear"

-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx