Skip to content

Commit 3acf8dd

Browse files
committed
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>
1 parent 82dee41 commit 3acf8dd

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

builtin/log.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,7 @@ static int cmd_log_walk(struct rev_info *rev)
342342
* retain that state information if replacing rev->diffopt in this loop
343343
*/
344344
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)
347346
/*
348347
* We decremented max_count in get_revision,
349348
* but we didn't actually show the commit.
@@ -1464,8 +1463,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
14641463
continue;
14651464
}
14661465

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))
14691467
continue;
14701468

14711469
nr++;

0 commit comments

Comments
 (0)