From 34c0831453355e09222ccc6665782d7070f5ddab Mon Sep 17 00:00:00 2001 From: Jonas Trappenberg Date: Wed, 21 Jan 2015 21:50:46 -0800 Subject: Add method to query environment --- git/cmd.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'git/cmd.py') diff --git a/git/cmd.py b/git/cmd.py index 1022fc25..65159f28 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -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 -- cgit v1.2.1