summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r--lib/git/repo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py
index da18208c..a714eea1 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -138,12 +138,12 @@ class Repo(object):
is the branch/commit name of the older item
``path``
- is an optinal path
+ is an optional path
Returns
``git.Commit[]``
"""
- return Commit.find_all(self, "%s..%s" % (frm, to), path).reverse()
+ return reversed(Commit.find_all(self, "%s..%s" % (frm, to)))
def commits_since(self, start='master', path='', since='1970-01-01'):
"""