summaryrefslogtreecommitdiff
path: root/include/git2/transaction.h
Commit message (Collapse)AuthorAgeFilesLines
* docs: add buffer.h & oid.h to types.hEtienne Samson2018-05-071-0/+1
| | | | Otherwise docurium/clang chokes on the types, and ignores the documentation comments altogether.
* transaction: fix documentationEtienne Samson2016-11-011-0/+9
|
* transaction: rename lock() to lock_ref()cmn/reference-transactionCarlos Martín Nieto2014-10-091-1/+1
| | | | | This leaves space for future expansion to locking other resources without having to change the API for references.
* transaction: add documentationCarlos Martín Nieto2014-09-301-2/+88
|
* Introduce reference transactionsCarlos Martín Nieto2014-09-301-0/+25
A transaction allows you to lock multiple references and set up changes for them before applying the changes all at once (or as close as the backend supports). This can be used for replication purposes, or for making sure some operations run when the reference is locked and thus cannot be changed.