From 211facc09aa6f980a6b486929a842b75e15d734e Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 8 Dec 2015 18:57:58 +0200 Subject: [PATCH] manage.py: fix order of commit-tree arguments Some older versions of git fail with the previous order. Signed-off-by: Markus Lehtonen --- manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.34.1