From 7dcb07947cd71f47b5e2e5f101d289e263506ca9 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 5 Jul 2011 22:09:58 +0200 Subject: Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docs --- doc/source/tutorial.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/source/tutorial.rst') 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 ... ***************** -- cgit v1.2.1