From 14b3772dc3410893165d4d67594401e2537b5f71 Mon Sep 17 00:00:00 2001
From: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Tue, 28 Mar 2023 19:35:37 +0200
Subject: [PATCH] dim: shut up git add harder

Apparently my git (v2.40.0) does more warnings and we're not silencing
all the possible ones in the commit_rerere_cache function

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@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 b87b542..c630d72 100755
--- a/dim
+++ b/dim
@@ -667,7 +667,7 @@ function commit_rerere_cache
 			git rm $file &> /dev/null || true
 		fi
 	done
-	find rr-cache/ -mtime -1 -type f -not -name "thisimage*" -print0 | xargs -0 git add > /dev/null || true
+	find rr-cache/ -mtime -1 -type f -not -name "thisimage*" -print0 | xargs -0 git add &> /dev/null || true
 	git rm rr-cache/rr-cache &> /dev/null || true
 
 	commit_message=$(mktemp)
-- 
GitLab