From patchwork Tue Sep 26 08:41:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9971517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 96C1A6037F for ; Tue, 26 Sep 2017 08:41:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83F7D28D1E for ; Tue, 26 Sep 2017 08:41:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78F2F28D24; Tue, 26 Sep 2017 08:41:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0479228D1E for ; Tue, 26 Sep 2017 08:41:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10BA36E01E; Tue, 26 Sep 2017 08:41:47 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id AD6E66E01E for ; Tue, 26 Sep 2017 08:41:45 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id m127so8769799wmm.0 for ; Tue, 26 Sep 2017 01:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id; bh=GqTwQmhv9UYwZ+KQM1Wkdu+AUIQLMGAHUe/Mr6f81U0=; b=ElRIBjczWBGurmyfvlSNbUsSJAU6OcEfabjvLA1Enogi9u5gt6Sr395qZQ08H0Q0XZ Gpz0EVwoUm4q4PXxK62YQX63c5vVT1fYyw8aK3QyeYQZ+bFzxSKlGSNMo+oGSKEqAf3j CVqtgAorbF2uhfjOKgvi7COjKrc+IM07BSexg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GqTwQmhv9UYwZ+KQM1Wkdu+AUIQLMGAHUe/Mr6f81U0=; b=W8BEfkrG/TzUzHfEBI+zLa/R+4PvVuTQmS1GicEm7QkREE6HJ28JDxzq4e+2Bcl15/ 2g54SbCLgmcWPMu/Asuhd0TE2jkoeDam2B5Prt1SHX5XczczUQMQMGrSSknLs0CBLb4i GIFpjodQVXCNmPz9ZDzGHcBWLerOMlvoYyUYYK/TfZL+8RVajWQx1RDW6Oa67Y0rL2dV 0fc122shb5oY9DTQbDow2Dj9LOz2swFkQlgT4nHS1+qCZwk9telkmrW9kPxyzZy8zOxO tG/GMF3b2GQyrtyYGhjdwAviMudwxZvUX/Dlbhgp9YSqGpjUXkP3i6X4gz5z1ZGboDW0 I+QA== X-Gm-Message-State: AHPjjUhCujql4Psb5ZWzgV6W7h0wAOZjmw0Hxa1QCahDKQEh8sx4MZiy GRJPBOpLGa88fd41VWqMXNyDjC88 X-Google-Smtp-Source: AOwi7QCfKwIG0vD4btpggh68VyLrpe938W5ZtsTpP8VeEWBPPOp0Csvxq1pNaBafcxHVegdVQXjO7Q== X-Received: by 10.80.173.80 with SMTP id z16mr16809518edc.133.1506415304034; Tue, 26 Sep 2017 01:41:44 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id n3sm4928225edl.96.2017.09.26.01.41.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Sep 2017 01:41:43 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Tue, 26 Sep 2017 10:41:37 +0200 Message-Id: <20170926084137.12765-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.14.1 Cc: Daniel Vetter , Daniel Vetter Subject: [Intel-gfx] [PATCH] dim: Curb gc enthusiasm X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: Joonas Lahtinen Acked-by: Joonas Lahtinen Signed-off-by: Daniel Vetter Reviewed-by: Chris Wilson --- 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