Permalink
Browse files

Edit Correct Tree Entry

Update the put function from repo to write changes to the correct tree
entry when not explicitly finishing a task.
  • Loading branch information...
1 parent 1bb9599 commit 5cf6b49bcead19d44e66d7f119e351b2ceff96c1 @198d committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 clask/repo.py
View
@@ -31,7 +31,7 @@ def put(slug, data, message=None, finish=False):
tree_dict[_tree_entry(slug, True)] = data
tree_dict[_tree_entry(slug)] = None
else:
- tree_dict[_tree_entry(slug)] = data
+ tree_dict[_current_tree_entry(slug)] = data
_commit(tree_dict, message)

0 comments on commit 5cf6b49

Please sign in to comment.