diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-11-29 18:39:41 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-11-29 18:39:41 +0100 |
commit | 0274b57d55a12ed38259757dbfae96b79cfa2e0b (patch) | |
tree | 34c7204f88168f791ef48f603bb8ab66e9df523c /ui-shared.h | |
parent | Merge branch 'stable' (diff) | |
download | cgit-pink-0274b57d55a12ed38259757dbfae96b79cfa2e0b.tar.gz cgit-pink-0274b57d55a12ed38259757dbfae96b79cfa2e0b.zip |
ui-log: add support for showing the full commit message
Some users prefer to see the full message, so to make these users happy the new querystring parameter "showmsg" can be used to print the full commit message per log entry. A link is provided in the log heading to make this function accessible, and all links and forms tries to preserve the users preference. Note: the new link is not displayed on the summary page since the point of the summary page is to be a summary, but it is still obeyed if specified manually. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | ui-shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h index 3c8a6d0..2ab53ae 100644 --- a/ui-shared.h +++ b/ui-shared.h @@ -19,7 +19,7 @@ extern void cgit_plain_link(char *name, char *title, char *class, char *head, char *rev, char *path); extern void cgit_log_link(char *name, char *title, char *class, char *head, char *rev, char *path, int ofs, char *grep, - char *pattern); + char *pattern, int showmsg); extern void cgit_commit_link(char *name, char *title, char *class, char *head, char *rev); extern void cgit_patch_link(char *name, char *title, char *class, char *head, |