From b00f3689aa19938c10576580fbfc9243d9f3866c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=20Fr=C3=A9cinaux?= Date: Tue, 16 Sep 2008 08:08:47 +0200 Subject: Replace GitPython with git in repr() outputs. The imported module is called git (as in "import git"), so it's less confusing to do so than to call everything GitPython.something. --- lib/git/commit.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/git/commit.py') diff --git a/lib/git/commit.py b/lib/git/commit.py index e92293e4..8b7bdfa8 100644 --- a/lib/git/commit.py +++ b/lib/git/commit.py @@ -47,7 +47,7 @@ class Commit(LazyMixin): is the list of the parents of the commit Returns - GitPython.Commit + git.Commit """ LazyMixin.__init__(self) @@ -113,7 +113,7 @@ class Commit(LazyMixin): ``skip`` is the number of commits to skip Returns - GitPython.Commit[] + git.Commit[] """ options = {'pretty': 'raw'} options.update(kwargs) @@ -133,7 +133,7 @@ class Commit(LazyMixin): is the text output from the git command (raw format) Returns - GitPython.Commit[] + git.Commit[] """ lines = [l for l in text.splitlines() if l.strip()] @@ -180,7 +180,7 @@ class Commit(LazyMixin): is a list of paths to limit the diff. Returns - GitPython.Diff[] + git.Diff[] """ paths = paths or [] @@ -229,7 +229,7 @@ class Commit(LazyMixin): return self.id def __repr__(self): - return '' % self.id + return '' % self.id @classmethod def actor(cls, line): -- cgit v1.2.1