diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-10-22 13:40:50 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-10-23 14:18:03 +0200 |
commit | f3df4bf7e0ba64f78b33f6d2a3dd3439bfebbd3f (patch) | |
tree | aa4cb7c72ed44c3addfc2accca79677e57edc026 /gbp | |
parent | de75bbf96dfe58f04005951d0d214322c7a83dda (diff) |
GitRepository: rename commits to get_commits
Git-Dch: Ignore
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -358,8 +358,8 @@ class GitRepository(object): else: return [] - def commits(self, since=None, until=None, paths=None, options=None, - first_parent=False): + def get_commits(self, since=None, until=None, paths=None, options=None, + first_parent=False): """ Get commits from since to until touching paths @@ -368,6 +368,9 @@ class GitRepository(object): @param paths: only list commits touching paths @param options: list of options passed to git log @type options: list of strings + @param first_parent: only follow first parent when seeing a + merge commit + @type first_parent: bool """ args = ['--pretty=format:%H'] |