summaryrefslogtreecommitdiff
path: root/lib/git_python
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2008-05-29 01:55:21 -0700
committerDavid Aguilar <davvid@gmail.com>2008-05-29 01:55:21 -0700
commit579d1b8174c9be915c0fa17a67fc38cc6de36ad7 (patch)
tree4d292e6ba9133554d51148e5b29e1470dbd151c2 /lib/git_python
parent8501e908bb8c531dfa75cef33fcec519027f4e5b (diff)
downloadgitpython-579d1b8174c9be915c0fa17a67fc38cc6de36ad7.tar.gz
git.py: always use "git foo" and never "git-foo"
gitsters on the git mailing list have been slowly deprecating the usage of "git-foo" commands. The preferred invocation is "git foo". Signed-off-by: David Aguilar <davvid@gmail.com>
Diffstat (limited to 'lib/git_python')
-rw-r--r--lib/git_python/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git_python/git.py b/lib/git_python/git.py
index 450f71fd..c66d9461 100644
--- a/lib/git_python/git.py
+++ b/lib/git_python/git.py
@@ -82,7 +82,7 @@ class Git(MethodMissingMixin):
ext_args = map(lambda a: (a == '--') and a or "%s" % a, args)
args = opt_args + ext_args
- call = ['git-'+dashify(method)]
+ call = ["git", dashify(method)]
call.extend(args)
stdout_value = self.execute(call)