forced update says "Already up to date."
k4lizen opened this issue · comments
k4lizen commented
Describe the bug
chezmoi update --force
Does the expected thing but outputs to the screen "Already up to date." even when that is not the case and it successfully updated files.
To reproduce
- Change any tracked file so it differs from the chezmoi repo
- chezmoi update --force
Expected behavior
It gave a correct message.
Tom Payne commented
As per the documentation on chezmoi update
, chezmoi update
runs git pull ...
in the source directory. The Already up to date
message is coming from git, not chezmoi, and indicates that the source directory is up to date with respect to your dotfiles repo.