diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-20 10:11:16 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-20 10:11:16 +0200 |
commit | aa5e366889103172a9829730de1ba26d3dcbc01b (patch) | |
tree | 501733a2a12afae0bb0fe60eab33dca5b397c712 /lib/git/cmd.py | |
parent | e64957d8e52d7542310535bad1e77a9bbd7b4857 (diff) | |
download | gitpython-aa5e366889103172a9829730de1ba26d3dcbc01b.tar.gz |
Moved specialized methods like dashify, touch and is_git_dir to module to the respective modules that use them
fixed repo.daemon_export which did not work anymore due to incorrect touch implementation and wrong property names
Diffstat (limited to 'lib/git/cmd.py')
-rw-r--r-- | lib/git/cmd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/git/cmd.py b/lib/git/cmd.py index 500fcd93..d04a2bd0 100644 --- a/lib/git/cmd.py +++ b/lib/git/cmd.py @@ -20,6 +20,9 @@ extra = {} if sys.platform == 'win32': extra = {'shell': True} +def dashify(string): + return string.replace('_', '-') + class Git(object): """ The Git class manages communication with the Git binary. |