diff options
| author | Barry Scott <barry@barrys-emacs.org> | 2016-07-29 11:33:17 +0100 |
|---|---|---|
| committer | Barry Scott <barry@barrys-emacs.org> | 2016-07-29 11:33:17 +0100 |
| commit | 1116ef7e1bcbbc71d0b654b63156b29bfbf9afab (patch) | |
| tree | cf36c9a204dde27f8e2a770be83cf5258bdb1d50 /doc/source/tutorial.rst | |
| parent | b4b5ecc217154405ac0f6221af99a4ab18d067f6 (diff) | |
| parent | a4ad7cee0f8723226446a993d4f1f3b98e42583a (diff) | |
| download | GitPython-1116ef7e1bcbbc71d0b654b63156b29bfbf9afab.tar.gz GitPython-1116ef7e1bcbbc71d0b654b63156b29bfbf9afab.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc/source/tutorial.rst')
| -rw-r--r-- | doc/source/tutorial.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index b0ef273d..92020975 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -474,8 +474,13 @@ Using environment variables, you can further adjust the behaviour of the git com * **GIT_PYTHON_TRACE** - * If set to non-0, all executed git commands will be logged using a python logger. - * if set to *full*, the executed git command and its output on stdout and stderr will be logged using a python logger. + * If set to non-0, all executed git commands will be shown as they happen + * If set to *full*, the executed git command _and_ its entire output on stdout and stderr will be shown as they happen + + **NOTE**: All logging is outputted using a Python logger, so make sure your program is configured to show INFO-level messages. If this is not the case, try adding the following to your program:: + + import logging + logging.basicConfig(level=logging.INFO) * **GIT_PYTHON_GIT_EXECUTABLE** |
