From 17ebe977d72290dcdc848b78ae2e65b59d4e1b4c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 8 Jun 2005 22:59:43 +0200 Subject: [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 Signed-off-by: Linus Torvalds --- rev-list.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rev-list.c') diff --git a/rev-list.c b/rev-list.c index c27b138f3..b526ad4e0 100644 --- a/rev-list.c +++ b/rev-list.c @@ -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; -- cgit v1.2.1