rugged v0.24.0b14 发布,Git 的 Ruby 开发包
Rugged 是一个 Git 的 Ruby 开发包,使用 libgit2 API 。更新记录如下:
Add
Rugged::Repository#checkout_index
.This allows to perform checkout from a given GIT index. It might be handy in case of manual merge conflicts resolution with user intervention.
Dmytro Milinevskyy
Add accessors for the Repository ident.
Added
Repository#ident
andRepository#ident=
to read and set the identity that is used when writing reflog entries.Arthur Schreiber
Rugged::Remote
instances are now immutable.Arthur Schreiber
Remote#clear_refspecs
andRemote#save
were removed without replacement.Remote#url=
andRemote#push_url=
were removed and replaced byRemoteCollection#set_url
andRemoteCollection#set_push_url
.Remote#add_push
andRemote#add_fetch
were removed and replaced byRemoteCollection#add_push_refspec
andRemoteCollection#add_fetch_refspec
.Update bundled libgit2 to 9042693e283f65d9afb4906ed693a862a250664b.
Arthur Schreiber
Updated the API of reflog modifying methods.
This removes both the optional
:message
as well as:signature
options from the following methods:Additionally, the
:signature
option fromRemote#fetch
was removed as well.The reflog message is now automatically generated and committed with the the identity that is set in the Repository's configuration.
Arthur Schreiber
BranchCollection#create
,BranchCollection#move
,BranchCollection#rename
ReferenceCollection#create
,ReferenceCollection#rename
Remote#push
Repository#reset
The
:safe_create
flag was removed fromRepository#checkout_tree
.You can use
:create
in combination with:recreate_missing
instead.Arthur Schreiber