Closed jrmcdonald closed 1 year ago
Thanks for spotting this! This bug was introduced in #2356.
No worries, only spotted it because my gitpod environments were getting set up with a newer version than local, and subsequently failing to apply the dotfiles.
Thanks for an awesome tool btw.
Describe the bug
When upgrading to v2.23.0 from v2.22.1 the directory specified in .chezmoiroot is ignored when the
chezmoi source-path
command is run.For example if my .chezmoiroot contents are as follows:
In v2.22.1 the
chezmoi source-path
command returns:Whereas in v2.23.0 the same command returns:
To reproduce
I reproduced this using a clean ubuntu docker image.
Basic setup steps:
v2.22.1:
v2.23.0:
Expected behavior
I would expect the .chezmoiroot definition to be respected by the source-path command.
Output of command with the
--verbose
flagsource-path has no verbose output as far as I can tell.
Output of
chezmoi doctor
Additional context
Add any other context about the problem here.