[PATCH 2/2] dim: Squelch the filter-branch warning and wait

Ville Syrjala ville.syrjala at linux.intel.com
Fri Jan 15 17:01:52 UTC 2021


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

We actually want to use git filter-branch, so make it shut
up and do what it's told.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index b335ae44e64f..0862a99c2c71 100755
--- a/dim
+++ b/dim
@@ -1762,7 +1762,7 @@ function dim_extract_tags
 
 	tags=$(printf -- "$dim_extract_tags_marker\n%s" "$tags" | escape_quotes)
 
-	git filter-branch -f --msg-filter "cat ; echo \"$tags\"" $range
+	FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch -f --msg-filter "cat ; echo \"$tags\"" $range
 }
 
 function dim_extract_queued
-- 
2.26.2



More information about the dim-tools mailing list