Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94779bf

Browse files
Vampiretnyblom
authored andcommitted
When recursing into a directory, also match files, not only directories (svn-all-fast-export#7)
1 parent 8b9aef0 commit 94779bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/svn.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,6 @@ int SvnRevision::recurse(const char *path, const svn_fs_path_change_t *change,
869869
void *value;
870870
apr_hash_this(i, &vkey, NULL, &value);
871871
svn_fs_dirent_t *dirent = reinterpret_cast<svn_fs_dirent_t *>(value);
872-
if (dirent->kind != svn_node_dir)
873-
continue; // not a directory, so can't recurse; skip
874872
map.insertMulti(QByteArray(dirent->name), dirent->kind);
875873
}
876874

0 commit comments

Comments
 (0)