All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@intel.com>,
	Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: [PATCH] dim: Curb gc enthusiasm
Date: Tue, 26 Sep 2017 10:41:37 +0200	[thread overview]
Message-ID: <20170926084137.12765-1-daniel.vetter@ffwll.ch> (raw)

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@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2017-09-26  8:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-26  8:41 Daniel Vetter [this message]
2017-09-26  9:21 ` [PATCH] dim: Curb gc enthusiasm Chris Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170926084137.12765-1-daniel.vetter@ffwll.ch \
    --to=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.