plugins/repositories/rugged_repository.rb in olelo-0.9.1 vs plugins/repositories/rugged_repository.rb in olelo-0.9.2

- old
+ new

@@ -191,10 +191,9 @@ Thread.current[:olelo_rugged_tx] = nil end def set_content(path, content) check_path(path) - content = content.read if content.respond_to? :read expand_tree(path) object = work_tree[path] if object && object.type == :tree if content.blank? work_tree.delete(path + CONTENT_EXT)