[PATCH] dim: do not run hooks when rebuilding tip

Lucas De Marchi lucas.demarchi at intel.com
Fri Jan 25 10:27:17 UTC 2019


dim rebuild-tip was failing for me and after investigation with Daniel
Vetter, the culprit was having a pre-commit git hook enabled. Let's pass
--no-verify to avoid the same mistake for other people.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 00ac1b1340fd..8e1bfa968e4a 100755
--- a/dim
+++ b/dim
@@ -772,7 +772,7 @@ function dim_rebuild_tip
 
 			# because we filter out fast-forward merges there will
 			# always be something to commit
-			git commit --no-edit --quiet
+			git commit --no-edit --quiet --no-verify
 			echo "Done."
 		fi
 
-- 
2.20.0



More information about the dim-tools mailing list