projects
/
tools
/
git-buildpackage-rpm-testdata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a446d
)
manage.py: fix order of commit-tree arguments
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 16:57:58 +0000
(18:57 +0200)
committer
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 16:57:58 +0000
(18:57 +0200)
Some older versions of git fail with the previous order.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
manage.py
patch
|
blob
|
history
diff --git
a/manage.py
b/manage.py
index fc37d8ad36f7fb216914187bfcffe6fe0157a946..d883e8a898b6819e69fc6c1c57d1c52787b51267 100755
(executable)
--- 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]