models: update to the latest GitPython API (again)
commitcf3d0f3e7b63bd139b3c87862f0057156a014eb6
authorDavid Aguilar <davvid@gmail.com>
Thu, 26 Jun 2008 07:11:49 +0000 (26 00:11 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 26 Jun 2008 07:11:49 +0000 (26 00:11 -0700)
tree8092c495a624163bc118c15f199b3b54d4925cb1
parentbda109a267a6190d37ea931ebb1b65844bec54ac
models: update to the latest GitPython API (again)

GitPython removed get_git_dir() and get_work_tree().
git.Git() now requires that a path is passed to it as well.

All of cola's interaction with GitPython is now isolated
to the GitCola class.  This commit adds these useful
methods to the GitCola class.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/inotify.py
cola/models.py