aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 18:57:58 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 18:57:58 +0200
commit211facc09aa6f980a6b486929a842b75e15d734e (patch)
tree9c476a5b31acf216d4f2273e89230fb0db2cc337
parent09a446db2ffb101b1eac23c4f343b30682f55b9e (diff)
manage.py: fix order of commit-tree arguments
Some older versions of git fail with the previous order. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xmanage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index fc37d8a..d883e8a 100755
--- a/manage.py
+++ b/manage.py
@@ -269,10 +269,10 @@ def commit_tree(commit):
'GIT_AUTHOR_EMAIL': email,
'GIT_AUTHOR_DATE': date})
git_opts = []
+ git_opts.append(commit['tree'])
if 'parents' in commit:
for parent in commit['parents']:
git_opts += ['-p', parent]
- git_opts.append(commit['tree'])
return git_cmd('commit-tree', git_opts, True, commit['message'] + '\n',
env)[0]