Git 開發包,libgit2 v0.22.3 發布
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.22.3 發布,這是一個維護版本,建議用戶升級所有的庫,更新內容如下:-
b832377 blob: don't recomment using git_buf_grow
</li> -
9ac8fb4 path: error out if the callback returns an error
</li> -
0b4e8ab indexer: use lseek to extend the packfile
</li> -
b494e76 clone: fall back to copying when linking does not work
</li> -
fd8b7cf Fix ident replacement to match Git behavior
</li> -
c066d72 indexer: avoid loading already existent bases
</li> -
76af4ff indexer: don't look for the index we're creating
</li> -
6ba8a33 refspec: make sure matching refspecs have src, dst and input strings
</li> -
c62ab5f Call the openssl API to be able to work with SNI servers.
</li> -
1fcdcb4 ssh: read from stderr if stdout is empty
</li> -
c760654 fileops: set an error on write error for file copy
</li> -
9e74954 fileops: set an error message if we fail to link a file
</li> -
899716b path: don't let direach overwrite the callback's error message
</li> -
ff19d60 Include git2/transaction.h
</li> -
9108d13 Don't include headers on windows that aren't available
</li> -
98f1b3c Attributes: don't match files for folders
</li> -
822af03 Do not call regfree() on an empty regex that is not successfully created by regcomp
</li> -
1c01006 Fix wrong format string in git_reflog_drop() error message
</li> -
b67bc36 attr_file: fix subdirectory attr case.
</li> -
657ddf9 ignore: fix negative ignores without wildcards.
</li> -
7661fa1 Fix checking of return value for regcomp.
</li> -
702ac40 revwalk: don't insert uninteresting commits into the queue
</li> -
98e484b revwalk: detect when we're out of interesting commits
</li> -
04162eb Fix git_checkout_tree() to do index filemodes correctly on Windows.
</li> -
7dc1b1c Make sure to also update delta->nfiles when merging diffs
</li> </ul>更多內容請查看軟件主頁:
該版本下載:Source code (zip)本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-
-