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/head.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/git/head.py') diff --git a/lib/git/head.py b/lib/git/head.py index 96d35010..4386aa98 100644 --- a/lib/git/head.py +++ b/lib/git/head.py @@ -20,7 +20,7 @@ class Head(object): 'master' >>> head.commit - + >>> head.commit.id '1c09f116cbc2cb4100fb6935bb162daa4723f455' @@ -37,7 +37,7 @@ class Head(object): is the Commit that the head points to Returns - GitPython.Head + git.Head """ self.name = name self.commit = commit @@ -54,7 +54,7 @@ class Head(object): is a dict of options Returns - GitPython.Head[] + git.Head[] """ options = {'sort': "committerdate", @@ -75,7 +75,7 @@ class Head(object): is the text output from the git command Returns - GitPython.Head[] + git.Head[] """ heads = [] @@ -101,7 +101,7 @@ class Head(object): id: [0-9A-Fa-f]{40} Returns - GitPython.Head + git.Head """ full_name, ids = line.split("\x00") name = full_name.split("/")[-1] @@ -109,4 +109,4 @@ class Head(object): return Head(name, c) def __repr__(self): - return '' % self.name + return '' % self.name -- cgit v1.2.1