Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-08-13 20:22:50 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-08-13 20:22:50 +0300
commit9f1af7f279e9f5cbd03c9a9d78fcba77a1c2c64c (patch)
tree5250a876c2fe2ba49edcd7e662214baa53dd1f0f /src/transaction.h
parent1573acbbd9023b5c447caa7489f9579d8ffc810e (diff)
parent5340d63d3815ddbd1a7e1b5b9628fce10089e8a0 (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.h14
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