We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b11900 commit 781fa01Copy full SHA for 781fa01
modules/git/tree.go
@@ -71,5 +71,5 @@ func (repo *Repository) GetTreePathLatestCommit(refName, treePath string) (*Comm
71
if err != nil {
72
return nil, err
73
}
74
- return repo.GetCommit(stdout)
+ return repo.GetCommit(strings.TrimSpace(stdout))
75
0 commit comments