# # # patch "work.cc" # from [e1028a1f79e6d0f76aec88c8bd1cfa3d9a028f1e] # to [d65751261528f62d15f8881504c19ae6c7049190] # ============================================================ --- work.cc e1028a1f79e6d0f76aec88c8bd1cfa3d9a028f1e +++ work.cc d65751261528f62d15f8881504c19ae6c7049190 @@ -840,7 +840,7 @@ read_directory(src_pth, files, dirs); for (std::vector::const_iterator i = files.begin(); i != files.end(); ++i) move_file(src_pth / (*i)(), dst_pth / (*i)()); - for (std::vector::const_iterator i = files.begin(); i != files.end(); ++i) + for (std::vector::const_iterator i = dirs.begin(); i != dirs.end(); ++i) if (!bookkeeping_path::is_bookkeeping_path((*i)())) move_dir(src_pth / (*i)(), dst_pth / (*i)()); root_dir_attached = false;