Add an -enum-only option to the backup command to enumerate the repository only

This commit is contained in:
Gilbert Chen
2018-05-24 11:34:46 -04:00
parent 72239a31c4
commit aadd2aa390
5 changed files with 32 additions and 12 deletions

View File

@@ -478,7 +478,6 @@ func ListEntries(top string, path string, fileList *[]*Entry, patterns []string,
}
entry := CreateEntryFromFileInfo(f, normalizedPath)
if len(patterns) > 0 && !MatchPath(entry.Path, patterns) {
LOG_DEBUG("LIST_EXCLUDE", "%s is excluded", entry.Path)
continue
}
if entry.IsLink() {