[PATCH] Tidy up some rev-list-related stuff
This patch tidies up the git-rev-list documentation and epoch.c, which are in severe clash with the unwritten coding style now, and quite unreadable. It also fixes up compile failures with older compilers due to variable declarations after code. The patch mostly wraps lines before or on the 80th column, removes plenty of superfluous empty lines and changes comments from // to /* */. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
f225b21807
commit
17ebe977d7
@ -214,17 +214,13 @@ int main(int argc, char **argv)
|
||||
usage(rev_list_usage);
|
||||
|
||||
if (!merge_order) {
|
||||
|
||||
if (limited)
|
||||
if (limited)
|
||||
list = limit_list(list);
|
||||
show_commit_list(list);
|
||||
|
||||
} else {
|
||||
|
||||
if (sort_list_in_merge_order(list, &process_commit)) {
|
||||
die("merge order sort failed\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user