libgit2

git_transaction_commit

Version:

Commit the changes from the transaction

Perform the changes that have been queued. The updates will be made one by one, and the first failure will stop the processing.

Signature

int git_transaction_commit(git_transaction *tx);

Parameters

In
tx

the transaction

Returns

int

0 or an error code

Versions