diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
commit | 3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 (patch) | |
tree | c77a29e1f35fefa5040454976c6edcf86e7678bc /bug/comment.go | |
parent | 33d510ac3999b3d8fa7a4652dc44a21c713f97de (diff) | |
download | git-bug-3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7.tar.gz |
repository: merge git.Hash in for one less /util package
Diffstat (limited to 'bug/comment.go')
-rw-r--r-- | bug/comment.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bug/comment.go b/bug/comment.go index 47c1ff05..4c9d118e 100644 --- a/bug/comment.go +++ b/bug/comment.go @@ -1,11 +1,12 @@ package bug import ( + "github.com/dustin/go-humanize" + "github.com/MichaelMure/git-bug/entity" "github.com/MichaelMure/git-bug/identity" - "github.com/MichaelMure/git-bug/util/git" + "github.com/MichaelMure/git-bug/repository" "github.com/MichaelMure/git-bug/util/timestamp" - "github.com/dustin/go-humanize" ) // Comment represent a comment in a Bug @@ -13,7 +14,7 @@ type Comment struct { id entity.Id Author identity.Interface Message string - Files []git.Hash + Files []repository.Hash // Creation time of the comment. // Should be used only for human display, never for ordering as we can't rely on it in a distributed system. |