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