{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1745907196,
"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":"6600924b331d1adce5b05c7c1cdd55e6",
"commit": {"type":"commit",
"time": 1530115879,
"time_ofs": 120,
"oid_tree": { "oid": "20234a287b08ad8fea6d50222f571bb4417a2962", "alias": []},
"oid":{ "oid": "30a378b571c9f826d37c913b32b363f54a8997f4", "alias": []},
"msg": "snapshot: support special value 'all' to enable all formats",
"sig_commit": { "git_time": { "time": 1530115879, "offset": 120 }, "name": "Jason A. Donenfeld", "email": "Jason@zx2c4.com", "md5": "689e78dac56e3d77d7f74984912487d3" },
"sig_author": { "git_time": { "time": 1528401710, "offset": 120 }, "name": "Christian Hesse", "email": "mail@eworm.de", "md5": "d39edb2018ca5544c1c390a8266096fb" }},
"body": "snapshot: support special value 'all' to enable all formats\n\nSigned-off-by: Christian Hesse \u003cmail@eworm.de\u003e\nReviewed-by: John Keeping \u003cjohn@keeping.me.uk\u003e\n"
,
"diff": "diff --git a/cgitrc.5.txt b/cgitrc.5.txt\nindex a9d3d0a..3bfacfa 100644\n--- a/cgitrc.5.txt\n+++ b/cgitrc.5.txt\n@@ -429,6 +429,7 @@ snapshots::\n \tText which specifies the default set of snapshot formats that cgit\n \tgenerates links for. The value is a space-separated list of zero or\n \tmore of the values \u0022tar\u0022, \u0022tar.gz\u0022, \u0022tar.bz2\u0022, \u0022tar.xz\u0022 and \u0022zip\u0022.\n+\tThe special value \u0022all\u0022 enables all snapshot formats.\n \tDefault value: none.\n \n source-filter::\ndiff --git a/shared.c b/shared.c\nindex 21ac8f4..0a11e68 100644\n--- a/shared.c\n+++ b/shared.c\n@@ -390,6 +390,9 @@ int cgit_parse_snapshots_mask(const char *str)\n \tif (atoi(str))\n \t\treturn 1;\n \n+\tif (strcmp(str, \u0022all\u0022) \u003d\u003d 0)\n+\t\treturn INT_MAX;\n+\n \tstring_list_split(\u0026tokens, str, ' ', -1);\n \tstring_list_remove_empty_items(\u0026tokens, 0);\n \n","s":{"c":1745907196,"u": 1237}}
],"g": 2173,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}