Apply upstream changeset fa9e61:

Fix --one-file-system to include the directory encountered rather than
excluding it.
This commit is contained in:
Bryan Drewery 2015-07-28 17:20:35 +00:00
parent 5361c268d4
commit 34f1f5d95e

View file

@ -974,7 +974,7 @@ next_entry(struct archive_read_disk *a, struct tree *t,
t->initial_filesystem_id = t->current_filesystem_id;
if (!a->traverse_mount_points) {
if (t->initial_filesystem_id != t->current_filesystem_id)
return (ARCHIVE_RETRY);
descend = 0;
}
t->descend = descend;