diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-08-13 20:22:50 +0300 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-08-13 20:22:50 +0300 |
commit | 9f1af7f279e9f5cbd03c9a9d78fcba77a1c2c64c (patch) | |
tree | 5250a876c2fe2ba49edcd7e662214baa53dd1f0f /src/transaction.h | |
parent | 1573acbbd9023b5c447caa7489f9579d8ffc810e (diff) | |
parent | 5340d63d3815ddbd1a7e1b5b9628fce10089e8a0 (diff) |
Merge pull request #3168 from libgit2/cmn/config-tx
Locking and transactional/atomic updates for config
Diffstat (limited to 'src/transaction.h')
-rw-r--r-- | src/transaction.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/transaction.h b/src/transaction.h new file mode 100644 index 000000000..780c06830 --- /dev/null +++ b/src/transaction.h @@ -0,0 +1,14 @@ +/* + * Copyright (C) the libgit2 contributors. All rights reserved. + * + * This file is part of libgit2, distributed under the GNU GPL v2 with + * a Linking Exception. For full terms see the included COPYING file. + */ +#ifndef INCLUDE_transaction_h__ +#define INCLUDE_transaction_h__ + +#include "common.h" + +int git_transaction_config_new(git_transaction **out, git_config *cfg); + +#endif |