summaryrefslogtreecommitdiff
path: root/lib/git/commit.py
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2008-06-12 03:01:09 -0700
committerDavid Aguilar <davvid@gmail.com>2008-06-12 03:01:09 -0700
commitabc2e538c6f2fe50f93e6c3fe927236bb41f94f4 (patch)
tree1f350705bb60063f073092f22799c09b1731bf51 /lib/git/commit.py
parent52654c0216dcbe3fa2d9afb1de12c65d18f6a7a4 (diff)
downloadgitpython-abc2e538c6f2fe50f93e6c3fe927236bb41f94f4.tar.gz
cmd: properly handle cwd for repos with work trees
This is a fix on top of Govind's latest performance improvement. self._cwd was always set to self._git_dir which means a lot of commands that require work trees were not available to GitPython. Execute now uses self._cwd which is equal to self._git_dir by default, and self.get_work_tree() if a work tree exists. Signed-off-by: David Aguilar <davvid@gmail.com>
Diffstat (limited to 'lib/git/commit.py')
0 files changed, 0 insertions, 0 deletions