1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 libgit2 v0.21.2 维护版本发布,Git 开发包 下载

本帖由 漂亮的石头2014-10-29 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    libgit2 v0.21.2 维护版本发布,现已提供下载https://github.com/libgit2/libgit2/archive/v0.21.2.tar.gz)。

    此版本主要是修复了向后兼容的问题,是个维护版本,建议每位用户都升级!更新内容如下:


    • 4af08d9 Bump version to 0.21.2


    • cc71348 global: clean up openssl_locks on shutdown


    • cb93013 config test: clean up memory leak


    • f4cb227 travis ci: build maint branches and development'


    • 5595287 Fixed memory leak in git_tag_delete()


    • 7881bab Patch from @carlosmn to refresh the parent config before snapshotting.


    • 1ebb8e9 Change the length of the file so that the change is picked up.


    • acbfce9 Add a test to make sure a new snapshot has the new value.


    • 635ba11 is_empty_dir (wi32): cope with empty mount points


    • b2fa95a p_lstat win32: don't canonicalize volume mounts


    • 01a1be3 Don't copy buffer in checkout unless needed


    • 46ef5a7 Ensure filters (i.e. CRLF) are applied when checking out conflict content


    • 6e41c27 Introduce failing test for conflict filtering in index


    • d055f4e repository_head_unborn: clear error when HEAD is unborn


    • 5757c02 ssl: dump the SSL ciphers in favour of TLS


    • 0571362 Silence unused return value warning


    • c02c530 Ensure patch is initialized to zero, otherwise, the allocated flag may be set


    • 6004658 Silence uninitialized warning


    • b933465 Fixed odb foreach test failure for big-endian 64-bit


    • 8a89bda Fixed merge REUC test for big-endian 64-bit


    • e8b6f55 The raw index buffer content is not guaranteed to be aligned


    • 55f72c1 Ensure pool data is aligned on an 8 byte boundary


    • f975fe9 Introduce GIT_ALIGN


    • 2f83bfc git_filter: dup the filter name


    • 68fce7f config: Fix multiple trailing spaces before comments not completely trimmed


    • a97157a When auto follow tags, FETCH_HEAD should list only newly followed tags


    • e023545 global: free the error message when exiting a thread


    • b593577 Correctly handle getaddrinfo return result


    • ba5cef0 Recurse ignored directories when stashing


    • 80ddaec Include git2/odb_backend.h in git2.h


    • c12bc32 Remove local unused index_repo variable


    • 9a8126e Only check for workdir conflicts if the index has merged files


    • edb2b83 Added test case to illustrate bogus conflicts detected if no files were merged, and untracked


    • c93d1eb ssh: store error message immediately after a failed agent call


    • ebee4d5 pack: return the correct final offset


    • b401dc9 git_remote_ls() should return an error if the transport is not available


    • 7d729d0 http: make sure we can consume the data we request


    • ea97190 config: a multiline var can start immediately

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

    libgit2已被广泛应用在许多应用程序上,包括GitHub网站,还被应用在Plastic SCM和强大的微软Visual Studio工具箱。

    主要功能:


    • SHA转换、格式化和缩略词


    • 抽象的ODB后端系统


    • 提交、标签、树和BLOB解析、编辑、blob解析和回写


    • 树遍历


    • revision walking


    • 索引文件(临时区域)操作


    • 引用管理(包括包引用)


    • 配置文件管理


    • 高级仓库管理


    • 线程安全和可重入


    • 错误信息描述非常详细


    • 更多(超过175个不同的API调用)

    目前,可以绑定到libgit2的语言有,并附上各个语言的绑定方法:

    libgit2 v0.21.2 维护版本发布,Git 开发包下载地址
     
正在加载...