Fix CWD when running 'git pull', fix parameters.
authorTomas Vondra <tv@fuzzy.cz>
Thu, 11 Aug 2016 00:08:06 +0000 (02:08 +0200)
committerTomas Vondra <tomas@2ndquadrant.com>
Mon, 27 Feb 2017 00:23:58 +0000 (01:23 +0100)
commitacb9f222d3a6242b0286b08e92648a1124100d9e
treeaa3ea54f37a89079f8091f047b67195db040c0dd
parent8b02d6ece2479909b89a6b7c805c4030ddc0dfb4
Fix CWD when running 'git pull', fix parameters.

When refreshing a reporitory clone, running 'git pull $dir' does
not do the trick - it assumes the CWD is the clone, and imports
data from repository at $dir. So we need to set CWD properly and
do just 'git pull'.

Also, prefix class members with 'self'.
client/utils/git.py