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:09:58 +0200
commit7dcb07947cd71f47b5e2e5f101d289e263506ca9 (patch)
tree0919e03e08db0edd1e1698a0249c3e15241f6e7a /doc/source/tutorial.rst
parent1ddf05a78475a194ed1aa082d26b3d27ecc77475 (diff)
downloadgitpython-7dcb07947cd71f47b5e2e5f101d289e263506ca9.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 a9a3f81d..c176ed0c 100644
--- a/doc/source/tutorial.rst
+++ b/doc/source/tutorial.rst
@@ -427,6 +427,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 ...
*****************