]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: Shortcut copy if source or target starts with exclude path
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 30 Sep 2024 11:41:11 +0000 (13:41 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 30 Sep 2024 11:41:11 +0000 (13:41 +0200)
commitdc4710ceb2cccf9ddc42839fd99884d9148c994e
tree0a13df437e033823a4f46912659b653558597a73
parentdf4d09f78eed6daef508a6a0421759b3c6767256
repart: Shortcut copy if source or target starts with exclude path

If the source or target we're copying to is a subdirectory of any of the
directories specified in ExcludeFiles= or ExcludeFilesTarget=, shortcut the
entire copy operation.
src/partition/repart.c