summaryrefslogtreecommitdiff
path: root/git-reindent-branch.py
diff options
context:
space:
mode:
Diffstat (limited to 'git-reindent-branch.py')
-rw-r--r--git-reindent-branch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-reindent-branch.py b/git-reindent-branch.py
index bfbf0e5758..b0dd8db6de 100644
--- a/git-reindent-branch.py
+++ b/git-reindent-branch.py
@@ -32,6 +32,7 @@ if beforebase != beforeid:
sys.exit(1)
revs = run(['git', 'rev-list', 'reindent-master-before..%s' % commit]).strip().split('\n')
+revs.reverse()
srcdir = os.getcwd()
tmpdir = tempfile.mkdtemp('frrindent')