git: update to v2.10.0

Upstream continues to replace unsigned char *sha1 with struct
object_id old_oid. This makes the required changes.

The git lib has its own main function now. Rename our main function
to cmd_main, it is called from main then.
This commit is contained in:
Christian Hesse
2016-09-04 12:38:18 +02:00
父節點 ff9893ac81
當前提交 11695a58fd
共有 9 個文件被更改,包括 63 次插入63 次删除

2
cgit.c
查看文件

@@ -1026,7 +1026,7 @@ static int calc_ttl(void)
return ctx.cfg.cache_repo_ttl;
}
int main(int argc, const char **argv)
int cmd_main(int argc, const char **argv)
{
const char *path;
int err, ttl;