mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
fix(git): worktree folder init
This commit is contained in:
parent
d3c3dea1d7
commit
c67148670c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue