summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorChristian Fetzer <fetzer.ch@gmail.com>2016-11-07 20:53:23 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-09 20:54:13 (GMT)
commit2be9d85af8caddb26936279a2ed9b226e97ea410 (patch)
tree77cb62810a2a082d21cba71722b77e713d7bf180 /Help
parent88f38a2bb42599561e685dfba956866d857fe518 (diff)
downloadCMake-2be9d85af8caddb26936279a2ed9b226e97ea410.zip
CMake-2be9d85af8caddb26936279a2ed9b226e97ea410.tar.gz
CMake-2be9d85af8caddb26936279a2ed9b226e97ea410.tar.bz2
ExternalProject: Allow passing config flags to git clone
Add a `GIT_CONFIG` parameter that allows to specify `--config` flags that are passed to the git clone command. This can be used to specify for example `core.autocrlf=true`. The `--config` parameter is supported since Git 1.7.7.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/ExternalProject-GIT_CONFIG.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/ExternalProject-GIT_CONFIG.rst b/Help/release/dev/ExternalProject-GIT_CONFIG.rst
new file mode 100644
index 0000000..2ab15e5
--- /dev/null
+++ b/Help/release/dev/ExternalProject-GIT_CONFIG.rst
@@ -0,0 +1,5 @@
+ExternalProject-GIT_CONFIG
+--------------------------
+
+* The :module:`ExternalProject` module gained a ``GIT_CONFIG`` option
+ to pass ``--config`` options to Git when cloning repositories.