Git 開發包,libgit2 v0.23.4 發布
libgit2 是一個可移植、純C語言實現的 Git 核心開發包,你可以使用它來編寫自定義的 Git 應用。
libgit2已被廣泛應用在許多應用程序上,包括GitHub網站,還被應用在Plastic SCM和強大的微軟Visual Studio工具箱。
主要功能:
-
SHA轉換、格式化和縮略詞
</li> -
抽象的ODB后端系統
</li> -
提交、標簽、樹和BLOB解析、編輯、blob解析和回寫
</li> -
樹遍歷
</li> -
revision walking
</li> -
索引文件(臨時區域)操作
</li> -
引用管理(包括包引用)
</li> -
配置文件管理
</li> -
高級倉庫管理
</li> -
線程安全和可重入
</li> -
錯誤信息描述非常詳細
</li> -
更多(超過175個不同的API調用)
</li> </ul>目前,可以綁定到libgit2的語言有,并附上各個語言的綁定方法:
-
C++:https://projects.kde.org/projects/playground/libs/libqgit2/
</li> -
Chicken Scheme:https://wiki.call-cc.org/egg/git
</li> - </li>
- </li>
- </li>
- </li>
- </li>
-
Haskell:https://github.com/fpco/gitlib
</li> - </li>
-
.NET:https://github.com/libgit2/libgit2sharp、https://github.com/txdv/libgit2net
</li> - </li>
- </li>
-
Objective-C:https://github.com/libgit2/objective-git
</li> - </li>
-
Parrot Virtual Machine:https://github.com/letolabs/parrot-libgit2
</li> - </li>
- </li>
- </li>
- </li>
-
Vala:https://github.com/apmasell/vapis/blob/master/libgit2.vapi
</li> </ul> libgit2 v0.23.4 發布,此版本是個維護版本,添加了測試用例,修復了警告和一個泄漏問題。其他改進:
dab55be Fix warnings and a leak 5b6b774 Add test case ed4eeeb merge-base: Style 0740382 merge-base: Do not read parents from the root 5b6af2c merge-base: Remove redundant merge bases faa3c89 Fix build for custom transport users 50225df git: put NULL check at the top 9a212bf git: accept NULL as argument to its stream free c615d29 Prevent segfault when parsing a reflog with oid parse error 6bac384 reuc: Be smarter when inserting new REUC entries 0e077d7 Fix docs typo geterr_clear -> giterr_clear 8f5f1a1 xdiff: reference util.h in parent directory ba7da35 diff: ignore nsecs when diffing 1073061 index: test that we round-trip nsecs 5e26142 inttypes.h is built-in header file since MSVC 2013 afed770 win32: add c linkage guard around inttypes.h inclusion abdbfef signature: Strip crud just like Git does aef9724 odb: Prioritize alternate backends 18ff20f odb: Be smarter when refreshing backends 486270d revwalk: make commit list use 64 bits for time 47e4b74 CMake: be more explicit with python errors 66956c5 qsort_r/qsort_s: detect their support cd76828 p_futimes: support using futimens when available 08a2a93 openssl: don't try to teardown an unconnected SSL context 7dd5128 win32::longpath: don't print path 6aed945 Fix binary diffs 1a1d575 win32: test checkout msg on long path err 80b4536 win32: propogate filename too long errors 1ffa073 repository: only reserve repo dirs in the workdir 1568dea pkg-config: fix directory references in libgit2.pc ad8e8fa win32: return EACCES in `p_lstat` 59ac224 checkout: overwrite files with differing modes 097c5bc checkout::tree tests: don't use hardcoded mode d73bf24 checkout::tree tests: don't use static buffer 9ae94bc Check that checkout preserves filemode in working directory. 9247114 Check that an executable in index is not an executable after checkout. d1a7d0e Removing memory leak in mempack's free 7e53d83 Fixing dangling pointers in git_mempack_reset d960fb3 added a single line of additional error reporting from libssh2 when failing to retrieve the list of authentication methods c1dabd1 filebuf: follow symlinks when creating a lock file
來自:http://www.oschina.net/news/68009/libgit2-0-23-4
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-