]> wimlib.net Git - wimlib/commit
wimlib-imagex: try harder to optimize out opening template WIM
authorEric Biggers <ebiggers3@gmail.com>
Sun, 21 Jan 2018 21:47:10 +0000 (13:47 -0800)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 21 Jan 2018 21:47:10 +0000 (13:47 -0800)
commit0edea6a7d2affc25ee132e00551cea69fd20a4a8
tree1bf737153f7e755bdc5ee65b1179da4e376baa5e
parent501d34c5f736fb528a1bfa78c1ec1aca3d3ea611
wimlib-imagex: try harder to optimize out opening template WIM

As an optimization, 'wimcapture' and 'wimappend' don't separately open
the template WIM for --update-of if no filename is specified in that
option, which makes it default to either the single base WIM
(--delta-from), or the WIM being appended to.

Extend that optimization to cases where the filename is specified in
--update-of and it exactly matches the filename of the WIM being
appended to or any of the base WIMs.
programs/imagex.c