[prev in list] [next in list] [prev in thread] [next in thread]
List: cgit
Subject: [PATCH 4/4] repolist: add a git link on front page
From: sebastian () breakpoint ! cc (Sebastian Andrzej Siewior)
Date: 2014-02-01 14:53:25
Message-ID: 20140201145325.GA23572 () breakpoint ! cc
[Download RAW message or body]
On 19.01.14, Jason A. Donenfeld wrote:
> On Sat, Jan 18, 2014 at 9:25 PM, Sebastian Andrzej Siewior
> <sebastian at breakpoint.cc> wrote:
> > cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL);
> > + cgit_git_link();
> > @@ -284,6 +284,41 @@ void cgit_tree_link(const char *name, const char *title, const char *class,
> > +void cgit_git_link(void)
>
> I like this, but it's probably best to refactor it to take the same
> arguments as all the other cgit_*_link functions.
A little hint please. I could change this to
|void cgit_git_link(const char *name, const char *class)
and update the caller.
Is it this what you mean? If you want me to reuse site_link() (and its
arguemnts) I would ne to replace site_url() somehow because it creates
script based arguements.
Sebastian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic