]> err.no Git - dpkg/commit
Handle inclusion properly
authorTollef Fog Heen <tfheen@err.no>
Wed, 26 Dec 2007 09:57:24 +0000 (10:57 +0100)
committerTollef Fog Heen <tfheen@err.no>
Wed, 26 Dec 2007 09:57:24 +0000 (10:57 +0100)
commit79695c34c690e288f6e4d2958a6b587d74d2baa8
tree29554eb209936a851b876c478de4e9e7f100f9e2
parent2d6f6f0ae46729505a0e46fe74aa23766d9cb2e2
Handle inclusion properly

Make sure we handle the case of a filter similar to:

+/usr/share/doc/pkg-config/changelog.Debian.gz
-/usr/share/doc/pkg-config*

correctly, where /usr/share/doc/pkg-config needs to be reincluded as a
file below it will be included.

Note that you can end up with empty directories this way if you have a
filter like:

+/usr/share/doc/pkg-config/NoSuchFileOrDirectory
-/usr/share/doc/pkg-config*

even though the deb does not ship
/usr/share/doc/pkg-config/NoSuchFileOrDirectory.  I believe this is
not easily fixable without at least a performance hit.
src/archives.c