Commit Diff


commit - 60c6aae16f7ac9b67326d34fca6de68561e97c0e
commit + df581e4b0ed88464667ca88d51a6b93d1159c0c0
blob - 69aea0a6aaf3ddfe78f7567e8a2405ae2d0c81e0
blob + 77f774c3d3737b31b6f815a4434406dd96458a69
--- lib/diff_main.c
+++ lib/diff_main.c
@@ -602,7 +602,7 @@ diff_main(const struct diff_config *config, struct dif
 
 	struct diff_state state = {
 		.result = result,
-		.recursion_depth_left = config->max_recursion_depth ? : 32,
+		.recursion_depth_left = config->max_recursion_depth ? : UINT_MAX,
 		.kd_buf = NULL,
 		.kd_buf_size = 0,
 	};