def commit_index(object_store, index):
 return commit_tree(object_store, index.iterblobs())

def commit_index ( object_store , index ) : return commit_tree ( object_store , index . iterblobs ( ) )
create a new tree from an index .