Skip to content

Commit 579d1b8

Browse files
committedMay 29, 2008
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>
1 parent 8501e90 commit 579d1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/git_python/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def method_missing(self, method, *args, **kwargs):
8282
ext_args = map(lambda a: (a == '--') and a or "%s" % a, args)
8383
args = opt_args + ext_args
8484

85-
call = ['git-'+dashify(method)]
85+
call = ["git", dashify(method)]
8686
call.extend(args)
8787

8888
stdout_value = self.execute(call)

0 commit comments

Comments
 (0)
Please sign in to comment.