From 42a7eb9c73457319a3fd5441ff26046fc9b31dad Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 17 Jun 2007 14:53:02 +0200 Subject: Add cgit_commit_link() + support for id=sha1 to commit view This adds a function to generate links to the commit page and extends said page to use id from querystring as primary revision specified (fallback to h). Signed-off-by: Lars Hjemli --- ui-tree.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ui-tree.c') diff --git a/ui-tree.c b/ui-tree.c index e16b638..1037c82 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -58,7 +58,6 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, char *fullpath; enum object_type type; unsigned long size = 0; - char *url, *qry; name = xstrdup(pathname); fullpath = fmt("%s%s%s", cgit_query_path ? cgit_query_path : "", -- cgit v1.2.3-59-g8ed1b