From 3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 1 Jul 2020 19:39:02 +0200 Subject: repository: merge git.Hash in for one less /util package --- bug/operation.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bug/operation.go') diff --git a/bug/operation.go b/bug/operation.go index 91df4ef2..107c954e 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -10,7 +10,7 @@ import ( "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" ) // OperationType is an operation type identifier @@ -37,7 +37,7 @@ type Operation interface { // Time return the time when the operation was added Time() time.Time // GetFiles return the files needed by this operation - GetFiles() []git.Hash + GetFiles() []repository.Hash // Apply the operation to a Snapshot to create the final state Apply(snapshot *Snapshot) // Validate check if the operation is valid (ex: a title is a single line) @@ -142,7 +142,7 @@ func (op *OpBase) Time() time.Time { } // GetFiles return the files needed by this operation -func (op *OpBase) GetFiles() []git.Hash { +func (op *OpBase) GetFiles() []repository.Hash { return nil } -- cgit