aboutsummaryrefslogtreecommitdiff
path: root/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index d883e8a..b061108 100755
--- a/manage.py
+++ b/manage.py
@@ -293,7 +293,7 @@ def commit_patch(commit, patchfile):
tree = git_cmd('write-tree', None, True, None, env)[0]
assert tree == commit['tree']
sha1 = commit_tree(commit)
- git_cmd('reset', ['--hard'], True)
+ git_cmd('checkout', [sha1], True)
return sha1