summaryrefslogtreecommitdiff
path: root/doc/source/tutorial.rst
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-07-05 22:09:58 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-07-05 22:27:01 +0200
commitf1a2a4c611bc1f27bd1b63c26847ea74e18caddc (patch)
treed8ea4c9c347a029fd1318ef2599c29c9e227a0a8 /doc/source/tutorial.rst
parent6507e4e14337a929d4f3986a90efd8674d963a3f (diff)
downloadgitpython-f1a2a4c611bc1f27bd1b63c26847ea74e18caddc.tar.gz
Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docs
Diffstat (limited to 'doc/source/tutorial.rst')
-rw-r--r--doc/source/tutorial.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst
index 5530cedd..4dcfad4a 100644
--- a/doc/source/tutorial.rst
+++ b/doc/source/tutorial.rst
@@ -412,6 +412,20 @@ The special notion ``git.command(flag=True)`` will create a flag without value l
If ``None`` is found in the arguments, it will be dropped silently. Lists and tuples passed as arguments will be unpacked recursively to individual arguments. Objects are converted to strings using the str(...) function.
+Git Command Debugging and Customization
+***************************************
+
+Using environment variables, you can further adjust the behaviour of the git command.
+
+* **GIT_PYTHON_TRACE**
+
+ * If set to non-0, all executed git commands will be printed to stdout.
+ * if set to *full*, the executed git command will be printed along with its output.
+
+* **GIT_PYTHON_GIT_EXECUTABLE**
+
+ * If set, it should contain the full path to the git executable, e.g. *c:\\Program Files (x86)\\Git\\bin\\git.exe* on windows or */usr/bin/git* on linux.
+
And even more ...
*****************