发布于 2016-12-23 23:52:12 | 148 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

libgit2 Git开发包

libgit2 是一个可移植、纯C语言实现的 Git 核心开发包,你可以使用它来编写自定义的 Git 应用。


Git 核心开发包 libgit2 v0.25.0 发布了。libgit2 是一个可移植、纯 C 语言实现的 Git 核心开发包,你可以使用它来编写自定义的 Git 应用。这是 v0.25 系列的第一个版本,代号“Rutschgefahr” ,更新日志如下:

变更或改进:

  • 使用 git_repository_discover 和 git_repository_open_ext 修复存储库发现,以匹配 git 在当前目录下的 ceiling 目录的处理。当它的搜索上升到父目录时,git 只检查 ceiling 目录。与起始目录匹配的 ceiling 目录不会阻止 git 在起始目录或父目录中查找存储库。

  • 在存在包含分支的破坏全局配置的情况下,删除远程数据库时不会失败

  • 支持读写 Git 索引 v4 文件

  • 提高 revwalk 的性能,使我们更接近 git 的代码.

  • 引用型数据库改进了对并发的支持,并在由于锁定而无法执行操作时返回 GIT_ELOCKED

  • 现在按照 git 的更改默认激活纳秒分辨率

  • 限制让 OpenSSL 默认使用的密码集

  • 用户现在可以通过 .gitattributes 注册自己的合并驱动程序以使用。这个库还获得了对 union merge 驱动程序的内置支持。

  • 创建引用的默认值现在验证对象是否存在

  • 添加 git_proxy_options ,由于用户使用不同的网络实现,应让调用者指定代理设置,而不是依赖环境变量。

移除的 API:

  • git_blob_create_fromchunks() 已被移除, 有利于 git_blob_create_fromstream()

Breaking API changes:

  • git_packbuilder_object_count and git_packbuilder_written now return a size_t instead of a uint32_t for more thorough compatibility with the rest of the library.

  • git_packbuiler_progress now provides explicitly sized uint32_t values instead of unsigned int.

  • git_diff_file now includes an id_abbrev field that reflects the number of nibbles set in the id field.

  • git_odb_backend now has a freshen function pointer. This optional function pointer is similar to the exists function, but it will update a last-used marker. For filesystem-based object databases, this updates the timestamp of the file containing the object, to indicate "freshness".If this is NULL, then it will not be called and the exists functionwill be used instead.

  • git_remote_connect() now accepts proxy options.

发行主页

下载:



历史版本 :
libgit2 v0.26.3 发布,Git 核心开发包
libgit2 v0.26.0 发布,Git 核心开发包
Git 核心开发包 libgit2 v0.24.6 和 v0.25.1 发布
libgit2 v0.25.0 发布,Git 核心开发包
libgit2 v0.24.5 发布,Git 核心开发包
libgit2 v0.25.0 RC1 发布,Git 核心开发包
libgit2 v0.24.3 发布,Git 核心开发包
libgit2 v0.24.2 发布,Git 核心开发包
libgit2 v0.24.1 发布,Git 核心开发包
libgit2 v0.24.0 发布,Git 核心开发包
libgit2 v0.24.0 RC1 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务