Commit 93392cdd91d7fb7347969137ada040a03a5bfdbe

Edward Thomson 2016-10-09T11:27:56

docs: GIT_OPT_ENABLE_STRICT_OBJECT_CREATION is enabled We changed the defaults on strict object creation - it is enabled by default. Update the documentation to reflect that.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/git2/common.h b/include/git2/common.h
index 18abe46..a8d698f 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -269,7 +269,8 @@ typedef enum {
  *		> to ensure that all inputs to the new objects are valid.  For
  *		> example, when this is enabled, the parent(s) and tree inputs
  *		> will be validated when creating a new commit.  This defaults
- *		> to disabled.
+ *		> to enabled.
+ *
  *	* opts(GIT_OPT_SET_SSL_CIPHERS, const char *ciphers)
  *
  *		> Set the SSL ciphers use for HTTPS connections.