aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-02-10 18:22:21 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:19:03 +0100
commitef05c15f87468e0f4f1c688b0b9359cee2181c68 (patch)
treefba60b3d288ae6f6c2b8d8c18006e222c71807f5 /repository/repo.go
parentf74166914c344329f08823770982f12966c79a77 (diff)
downloadgit-bug-ef05c15f87468e0f4f1c688b0b9359cee2181c68.tar.gz
entity: implement remove
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository/repo.go b/repository/repo.go
index 8d162c6d..80bb7ce7 100644
--- a/repository/repo.go
+++ b/repository/repo.go
@@ -147,6 +147,7 @@ type RepoData interface {
UpdateRef(ref string, hash Hash) error
// RemoveRef will remove a Git reference
+ // RemoveRef is idempotent.
RemoveRef(ref string) error
// ListRefs will return a list of Git ref matching the given refspec