git: Use relative path for worktree
Git by default uses absolute path for worktree pointer. This is really
problematic in system container environments. To make git work with
absolute paths inside container, I have to mount the original repository
to container with same path as host. Relative path is obviously the way
to go.
init = {
defaultBranch = "master";
};
++ # This is turned off by default for compatibility reason.
+ # Essential for working both inside container and on host.
+ worktree.useRelativePaths = true;
}
// difftasticConfig;