mirror of
https://git.zx2c4.com/cgit
synced 2025-07-31 08:04:28 +02:00
Add ofs argument to cgit_log_link and use it in ui-log.c
This fixes a bug in the prev/next links on the log page: when on the default branch the links to prev/next page would contain h=(null). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
382805ee83
commit
103940fe6b
6 changed files with 30 additions and 16 deletions
2
cgit.h
2
cgit.h
|
@ -206,7 +206,7 @@ extern char *cgit_pageurl(const char *reponame, const char *pagename,
|
|||
extern void cgit_tree_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);
|
||||
char *rev, char *path, int ofs);
|
||||
extern void cgit_commit_link(char *name, char *title, char *class, char *head,
|
||||
char *rev);
|
||||
extern void cgit_diff_link(char *name, char *title, char *class, char *head,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue