Skip to content

Commit b1eadac

Browse files
use string comparison
1 parent 0807b6f commit b1eadac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/tree_entry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func (te *TreeEntry) GetPathInRepo() string {
198198
return ""
199199
}
200200
for _, entry := range entries {
201-
if entry.ID == current.ID {
201+
if entry.ID.String() == current.ID.String() {
202202
path = entry.Name() + "/" + path
203203
break
204204
}

0 commit comments

Comments
 (0)