Commit ccecc9fd21b05e615c5ea47b2308c048b0fd7816

Stefan Sperling 2020-04-18T10:28:20

wrap an overlong line

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/got/got.c b/got/got.c
index 4ab5956..cd34156 100644
--- a/got/got.c
+++ b/got/got.c
@@ -3109,8 +3109,8 @@ print_commits(struct got_object_id *root_id, struct got_repository *repo,
 	regex_t regex;
 	int have_match;
 
-	if (search_pattern &&
-	    regcomp(&regex, search_pattern, REG_EXTENDED | REG_NOSUB | REG_NEWLINE))
+	if (search_pattern && regcomp(&regex, search_pattern,
+	    REG_EXTENDED | REG_NOSUB | REG_NEWLINE))
 		return got_error_msg(GOT_ERR_REGEX, search_pattern);
 
 	err = got_commit_graph_open(&graph, path, !log_branches);