summaryrefslogtreecommitdiffstats
path: root/git-reindent-branch.py
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-22 18:00:44 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-22 18:00:44 +0200
commit92690ee6499df2f2a1093ce5645c0d852576f086 (patch)
tree42e0d212d8b6df122ec9a8cc039d394bce72f07f /git-reindent-branch.py
parentRevert "*: reindent pt. 2" (diff)
downloadfrr-92690ee6499df2f2a1093ce5645c0d852576f086.tar.xz
frr-92690ee6499df2f2a1093ce5645c0d852576f086.zip
*: fix git-reindent-branch.py reversing order
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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 bfbf0e575..b0dd8db6d 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')