-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module mounts with identical sources are not recursively copied to targets #9426
Comments
robbymilo
changed the title
Multiple module mounts with identical sources are not recursively copied to targets
Module mounts with identical sources are not recursively copied to targets
Jan 26, 2022
Confirmed. MRE: git clone --single-branch -b hugo-github-issue-9426 https://github.com/jmooring/hugo-testing hugo-github-issue-9426
cd hugo-github-issue-9426
hugo && tree public |
Yea, that's a bug -- we throw away duplicate source directories when walking to prevent cyclic references (from symbolic links) ... I will look if that can be handled differently. |
bep
added a commit
to bep/hugo
that referenced
this issue
Jan 26, 2022
bep
added a commit
to bep/hugo
that referenced
this issue
Jan 26, 2022
bep
added a commit
to bep/hugo
that referenced
this issue
Jan 26, 2022
bep
added a commit
to bep/hugo
that referenced
this issue
Jan 26, 2022
bep
added a commit
that referenced
this issue
Jan 26, 2022
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
What happened:
Added three (3) module mounts - two (2) have the same source, but different targets. In config.toml for example:
Note the
extra-content
dir contains subdirs, and the resultingpublic
output:What I expected to happened:
public/resources-b
would also containextra-content/subdir
.To reproduce with 0.92.0:
You will see the difference between
public/resources-a
andpublic/resources-b
.public/resources-a
contains the subdirs forextra-content
, whilepublic/resources-b
does not.The text was updated successfully, but these errors were encountered: