Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1745907257, "reponame":"cgit", "desc":"CGI gitweb", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/cgit", "f":3, "items": [ {"schema":"libjg2-1", "cid":"e4e6d3e46fd620b342580f23c7983164", "commit": {"type":"commit", "time": 1530115879, "time_ofs": 120, "oid_tree": { "oid": "5790b3e9ffab5534c11cc8c65f79e1c449a86600", "alias": []}, "oid":{ "oid": "63da41a915157d27dcf26e4811bd6b5f8a3abb2b", "alias": []}, "msg": "ui-shared: remove unused parameter", "sig_commit": { "git_time": { "time": 1530115879, "offset": 120 }, "name": "Jason A. Donenfeld", "email": "Jason@zx2c4.com", "md5": "689e78dac56e3d77d7f74984912487d3" }, "sig_author": { "git_time": { "time": 1522504941, "offset": 60 }, "name": "John Keeping", "email": "john@keeping.me.uk", "md5": "aea7d8738c91da1cb0dfa9d86f2bbc47" }}, "body": "ui-shared: remove unused parameter\n\nThe \u0022head\u0022 parameter to cgit_print_snapshot_links() is never used, so\nremove it.\n\nSigned-off-by: John Keeping \u003cjohn@keeping.me.uk\u003e\nReviewed-by: Christian Hesse \u003cmail@eworm.de\u003e\n" , "diff": "diff --git a/ui-commit.c b/ui-commit.c\nindex ea17461..37c7d8d 100644\n--- a/ui-commit.c\n+++ b/ui-commit.c\n@@ -110,7 +110,7 @@ void cgit_print_commit(char *hex, const char *prefix)\n \t}\n \tif (ctx.repo-\u003esnapshots) {\n \t\thtml(\u0022\u003ctr\u003e\u003cth\u003edownload\u003c/th\u003e\u003ctd colspan\u003d'2' class\u003d'sha1'\u003e\u0022);\n-\t\tcgit_print_snapshot_links(ctx.repo, ctx.qry.head, hex);\n+\t\tcgit_print_snapshot_links(ctx.repo, hex);\n \t\thtml(\u0022\u003c/td\u003e\u003c/tr\u003e\u0022);\n \t}\n \thtml(\u0022\u003c/table\u003e\u005cn\u0022);\ndiff --git a/ui-shared.c b/ui-shared.c\nindex d857873..d638bf4 100644\n--- a/ui-shared.c\n+++ b/ui-shared.c\n@@ -1111,8 +1111,7 @@ void cgit_compose_snapshot_prefix(struct strbuf *filename, const char *base,\n \tstrbuf_addf(filename, \u0022%s-%s\u0022, base, ref);\n }\n \n-void cgit_print_snapshot_links(const struct cgit_repo *repo, const char *head,\n-\t\t\t const char *hex)\n+void cgit_print_snapshot_links(const struct cgit_repo *repo, const char *hex)\n {\n \tconst struct cgit_snapshot_format* f;\n \tstruct strbuf filename \u003d STRBUF_INIT;\ndiff --git a/ui-shared.h b/ui-shared.h\nindex 92a1755..5c5dc33 100644\n--- a/ui-shared.h\n+++ b/ui-shared.h\n@@ -77,7 +77,7 @@ extern void cgit_print_filemode(unsigned short mode);\n extern void cgit_compose_snapshot_prefix(struct strbuf *filename,\n \t\t\t\t\t const char *base, const char *ref);\n extern void cgit_print_snapshot_links(const struct cgit_repo *repo,\n-\t\t\t\t const char *head, const char *hex);\n+\t\t\t\t const char *hex);\n extern const char *cgit_snapshot_prefix(const struct cgit_repo *repo);\n extern void cgit_add_hidden_formfields(int incl_head, int incl_search,\n \t\t\t\t const char *page);\ndiff --git a/ui-tag.c b/ui-tag.c\nindex 89a46f9..f597dfa 100644\n--- a/ui-tag.c\n+++ b/ui-tag.c\n@@ -34,7 +34,7 @@ static void print_tag_content(char *buf)\n static void print_download_links(char *revname)\n {\n \thtml(\u0022\u003ctr\u003e\u003cth\u003edownload\u003c/th\u003e\u003ctd class\u003d'sha1'\u003e\u0022);\n-\tcgit_print_snapshot_links(ctx.repo, ctx.qry.head, revname);\n+\tcgit_print_snapshot_links(ctx.repo, revname);\n \thtml(\u0022\u003c/td\u003e\u003c/tr\u003e\u0022);\n }\n \n","s":{"c":1745907257,"u": 4062}} ],"g": 4708,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}