diff options
Diffstat (limited to 'repository/tree_entry.go')
-rw-r--r-- | repository/tree_entry.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/repository/tree_entry.go b/repository/tree_entry.go index 3e532a30..8b3de8e2 100644 --- a/repository/tree_entry.go +++ b/repository/tree_entry.go @@ -3,13 +3,11 @@ package repository import ( "fmt" "strings" - - "github.com/MichaelMure/git-bug/util/git" ) type TreeEntry struct { ObjectType ObjectType - Hash git.Hash + Hash Hash Name string } @@ -34,7 +32,7 @@ func ParseTreeEntry(line string) (TreeEntry, error) { return TreeEntry{}, err } - hash := git.Hash(fields[2]) + hash := Hash(fields[2]) name := strings.Join(fields[3:], "") return TreeEntry{ |