Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin/log.c: minor reformat
author
Junio C Hamano
<gitster@pobox.com>
Thu, 20 Aug 2015 22:51:45 +0000
(15:51 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 25 Aug 2015 20:11:21 +0000
(13:11 -0700)
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>
builtin/log.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
82dee41
)
diff --git
a/builtin/log.c
b/builtin/log.c
index 0cdd88971d64651a43f9fdb46235183912e1ad5c..a491d3dea0e412624e7212060658e22a421cdfbf 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-342,8
+342,7
@@
static int cmd_log_walk(struct rev_info *rev)
* retain that state information if replacing rev->diffopt in this loop
*/
while ((commit = get_revision(rev)) != NULL) {
* retain that state information if replacing rev->diffopt in this loop
*/
while ((commit = get_revision(rev)) != NULL) {
- if (!log_tree_commit(rev, commit) &&
- rev->max_count >= 0)
+ if (!log_tree_commit(rev, commit) && rev->max_count >= 0)
/*
* We decremented max_count in get_revision,
* but we didn't actually show the commit.
/*
* We decremented max_count in get_revision,
* but we didn't actually show the commit.
@@
-1464,8
+1463,7
@@
int cmd_format_patch(int argc, const char **argv, const char *prefix)
continue;
}
continue;
}
- if (ignore_if_in_upstream &&
- has_commit_patch_id(commit, &ids))
+ if (ignore_if_in_upstream && has_commit_patch_id(commit, &ids))
continue;
nr++;
continue;
nr++;