diff --git a/autoload/gundo.py b/autoload/gundo.py index aedc05e..21d66f0 100644 --- a/autoload/gundo.py +++ b/autoload/gundo.py @@ -553,7 +553,10 @@ def GundoPlayTo(): return None nodes.append(current) - return reversed(nodes) if rev else nodes + if rev: + return reversed(nodes) + else: + return nodes branch = _walk_branch(start, end)