diff options
author | Jonas Trappenberg <jonas@trappenberg.ch> | 2015-01-21 21:50:46 -0800 |
---|---|---|
committer | Jonas Trappenberg <jonas@trappenberg.ch> | 2015-01-21 21:50:46 -0800 |
commit | 34c0831453355e09222ccc6665782d7070f5ddab (patch) | |
tree | 2f3185edcd6bec26f2395622ecd3ed0fbcab80cb /git/cmd.py | |
parent | 261aedd2e13308755894405c7a76b72373dab879 (diff) | |
download | gitpython-34c0831453355e09222ccc6665782d7070f5ddab.tar.gz |
Add method to query environment
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -615,6 +615,9 @@ class Git(LazyMixin): else: return stdout_value + def environment(self): + return self._environment + def set_environment(self, **kwargs): """ Set environment variables for future git invocations. Return all changed |