]> dgit.raspbian.org Git - git-annex.git/commit
avoid exporting non-annexed symlinks
authorJoey Hess <joeyh@joeyh.name>
Mon, 3 Jan 2022 18:21:50 +0000 (14:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 3 Jan 2022 18:21:50 +0000 (14:21 -0400)
commit7e2f5edd68bc2b41148c4a0deb8f5fe792de23dc
tree075278d3dca24d8e914dcf2787166273951593e6
parent0584e096d1255c71423322e71ada4b0cddf17d1e
avoid exporting non-annexed symlinks

So that importing does not replace them with plain files.

This works similarly to how the previous handling of submodules and
matchers did, except that annexed symlinks still get exported as plain
files of course, it's only non-annexed symlinks that it does not make sense
to export.

When symlinks have previously been exported, updating the export will
unexport them after upgrading to this commit.

Sponsored-by: Kevin Mueller on Patreon
CHANGELOG
Command/Export.hs
doc/bugs/adb_replaces_symlinks_by_plain_text_files.mdwn