Do not reference global CGit instance inside CGit methods, except for gitdll related...
commit739089bee0746448804968739cc782ea7d320b9c
authorSup Yut Sum <ch3cooli@gmail.com>
Sun, 4 Nov 2012 08:21:40 +0000 (4 16:21 +0800)
committerSven Strickroth <email@cs-ware.de>
Tue, 13 Nov 2012 07:54:53 +0000 (13 08:54 +0100)
treedc0dba609e8ce44c0e4fe2e0f1f249e3f7c4614a
parentf7a7beb9a7868063f9228056b132faf0b15f3342
Do not reference global CGit instance inside CGit methods, except for gitdll related stuffs

Also convert some static methods into instance methods.
This allows CGit methods to execute with respect to other git dir such as submodule.

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
src/Git/Git.cpp
src/Git/Git.h