author | Lars Hjemli <hjemli@gmail.com> | 2006-12-16 18:35:31 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-16 20:02:02 (UTC) |
commit | 9c5229ea394808f90433ee84439503bee124e1de (patch) (side-by-side diff) | |
tree | e43a0a6336bd7c66891ba64da90319c2e866714b /ui-log.c | |
parent | aaa24bdd30303128bded8487cd9f63b54c3b8dcd (diff) | |
download | cgit-9c5229ea394808f90433ee84439503bee124e1de.zip cgit-9c5229ea394808f90433ee84439503bee124e1de.tar.gz cgit-9c5229ea394808f90433ee84439503bee124e1de.tar.bz2 |
Reformat code to avoid excessive line lengths
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-log.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -40,25 +40,27 @@ void cgit_print_log(const char *tip, int ofs, int cnt) int i; init_revisions(&rev, NULL); rev.abbrev = DEFAULT_ABBREV; rev.commit_format = CMIT_FMT_DEFAULT; rev.verbose_header = 1; rev.show_root_diff = 0; setup_revisions(2, argv, &rev, NULL); prepare_revision_walk(&rev); html("<h2>Log</h2>"); html("<table class='list log'>"); - html("<tr><th class='left'>Date</th><th class='left'>Message</th><th class='left'>Author</th></tr>\n"); + html("<tr><th class='left'>Date</th>" + "<th class='left'>Message</th>" + "<th class='left'>Author</th></tr>\n"); if (ofs<0) ofs = 0; for (i = 0; i < ofs && (commit = get_revision(&rev)) != NULL; i++) { free(commit->buffer); commit->buffer = NULL; free_commit_list(commit->parents); commit->parents = NULL; } for (i = 0; i < cnt && (commit = get_revision(&rev)) != NULL; i++) { |