Tom Payne

Results 193 comments of Tom Payne

I'm still unable to reproduce this. Do you have an example that demonstrates the problem on a clean system?

Currently there's [`chezmoi re-add`](https://www.chezmoi.io/reference/commands/re-add/) which re-adds *all* modified files where it is possible to do so, but that's not what you're suggesting. > I believe adding "accept"/"all-accept" (or any other...

@JackTheMico has offered to implement this. https://github.com/twpayne/chezmoi/pull/2062/files gives an idea of what is required.

The easiest way to test is to build on top of the existing [`testscript`](https://pkg.go.dev/github.com/rogpeppe/go-internal/testscript)-based tests in [`pkg/cmd/testdata/scripts`](https://github.com/twpayne/chezmoi/tree/master/pkg/cmd/testdata/scripts). An example to follow is [`keepassxc.txt`](https://github.com/twpayne/chezmoi/blob/master/pkg/cmd/testdata/scripts/keepassxc.txt).

I don't quite understand what you want here. Is the suggestion that chezmoi should somehow automatically re-write directory names using registry keys?

Ah, thank you for the further details :) I think you're on to something good here. I think there's potentially a much better way to handle the "handle different file...

Thank you very much for reporting this with clear steps on how to reproduce the problem - much appreciated! This is definitely a bug in chezmoi. I've added a test...

OK, so on further investigation this has revealed a rather subtle flaw in chezmoi that might take a while to fix. Roughly what seems to be happening is: * For...

> I don't want to have for example empty VS Code directories on headless servers. For this you can use `.chezmoiignore` to not create the VS Code directory at all...

Random drive-by thoughts: * go-git supports [in memory storage](https://pkg.go.dev/github.com/go-git/go-git/[email protected]/storage/memory) so it should be possible to do this without touching disk. * Rather than creating an archive to be untar'd, the...