builtin/log.c: minor reformat
Two logical lines that were not overly long was split in the middle, which made them read worse. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Aug 20, 2015 at 15:51 UTC
3acf8dd8879c638a517e3810d1df872adfbaaf30
1 file changed
+2
-4
builtin/log.c
+2
-4
@@ -342,8 +342,7 @@ static int cmd_log_walk(struct rev_info *rev)
342
* retain that state information if replacing rev->diffopt in this loop
343
*/
344
while ((commit = get_revision(rev)) != NULL) {
345
- if (!log_tree_commit(rev, commit) &&
346
- rev->max_count >= 0)
345
+ if (!log_tree_commit(rev, commit) && rev->max_count >= 0)
346
/*
347
* We decremented max_count in get_revision,
348
* but we didn't actually show the commit.
@@ -1464,8 +1463,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
1463
continue;
1464
}
1465
1467
- if (ignore_if_in_upstream &&
1468
- has_commit_patch_id(commit, &ids))
1466
+ if (ignore_if_in_upstream && has_commit_patch_id(commit, &ids))
1467
continue;
1468
1469
nr++;