fix(git): worktree folder init

This commit is contained in:
Laurent Nullens 2021-12-09 16:13:47 +01:00 committed by GitHub
parent d3c3dea1d7
commit c67148670c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,6 @@ func (g *git) enabled() bool {
if gitdir.isDir {
g.gitWorkingFolder = gitdir.path
g.gitRootFolder = gitdir.path
g.gitWorktreeFolder = strings.TrimSuffix(gitdir.path, ".git")
return true
}
// handle worktree