@@ -100,7 +100,7 @@ def tags(self):
100100 """
101101 return Tag .find_all (self )
102102
103- def commits (self , start = 'master' , max_count = 10 , skip = 0 ):
103+ def commits (self , start = 'master' , max_count = 10 , skip = 0 ):
104104 """
105105 A list of Commit objects representing the history of a given ref/commit
106106
@@ -137,7 +137,7 @@ def commits_between(self, frm, to):
137137 """
138138 return Commit .find_all (self , "%s..%s" % (frm , to )).reverse ()
139139
140- def commits_since (self , start = 'master' , since = '1970-01-01' ):
140+ def commits_since (self , start = 'master' , since = '1970-01-01' ):
141141 """
142142 The Commits objects that are newer than the specified date.
143143 Commits are returned in chronological order.
@@ -155,7 +155,7 @@ def commits_since(self, start = 'master', since = '1970-01-01'):
155155
156156 return Commit .find_all (self , start , ** options )
157157
158- def commit_count (self , start = 'master' ):
158+ def commit_count (self , start = 'master' ):
159159 """
160160 The number of commits reachable by the given branch/commit
161161
@@ -185,7 +185,7 @@ def commit(self, id):
185185 raise ValueError , 'Invalid identifier %s' % id
186186 return commits [0 ]
187187
188- def commit_deltas_from (self , other_repo , ref = 'master' , other_ref = 'master' ):
188+ def commit_deltas_from (self , other_repo , ref = 'master' , other_ref = 'master' ):
189189 """
190190 Returns a list of commits that is in ``other_repo`` but not in self
191191
@@ -198,7 +198,7 @@ def commit_deltas_from(self, other_repo, ref = 'master', other_ref = 'master'):
198198 diff_refs = list (set (other_repo_refs ) - set (repo_refs ))
199199 return map (lambda ref : Commit .find_all (other_repo , ref , max_count = 1 )[0 ], diff_refs )
200200
201- def tree (self , treeish = 'master' ):
201+ def tree (self , treeish = 'master' ):
202202 """
203203 The Tree object for the given treeish reference
204204
@@ -227,7 +227,7 @@ def blob(self, id):
227227 """
228228 return Blob (self , id = id )
229229
230- def log (self , commit = 'master' , path = None , ** kwargs ):
230+ def log (self , commit = 'master' , path = None , ** kwargs ):
231231 """
232232 The commit log for a treeish
233233
@@ -316,7 +316,7 @@ def fork_bare(self, path, **kwargs):
316316 self .git .clone (self .path , path , ** options )
317317 return Repo (path )
318318
319- def archive_tar (self , treeish = 'master' , prefix = None ):
319+ def archive_tar (self , treeish = 'master' , prefix = None ):
320320 """
321321 Archive the given treeish
322322
@@ -345,7 +345,7 @@ def archive_tar(self, treeish = 'master', prefix = None):
345345 options ['prefix' ] = prefix
346346 return self .git .archive (treeish , ** options )
347347
348- def archive_tar_gz (self , treeish = 'master' , prefix = None ):
348+ def archive_tar_gz (self , treeish = 'master' , prefix = None ):
349349 """
350350 Archive and gzip the given treeish
351351
0 commit comments