aboutsummaryrefslogtreecommitdiffstats
path: root/entity/id.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-11-30 01:55:30 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:17:49 +0100
commitdb7074301b6af895b1a47ecd12a5028ac809abfc (patch)
tree72c9f1889aefb8c66bf4bbc027d92c6cd572bc9e /entity/id.go
parentfcf43915e1736fe0b56f8f06386f68d9b56da7a8 (diff)
downloadgit-bug-db7074301b6af895b1a47ecd12a5028ac809abfc.tar.gz
entity: generalize the combined Ids, use 64 length
Diffstat (limited to 'entity/id.go')
-rw-r--r--entity/id.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/id.go b/entity/id.go
index 9e724012..b602452e 100644
--- a/entity/id.go
+++ b/entity/id.go
@@ -65,7 +65,7 @@ func (i Id) MarshalGQL(w io.Writer) {
// IsValid tell if the Id is valid
func (i Id) Validate() error {
- // Special case to
+ // Special case to detect outdated repo
if len(i) == 40 {
return fmt.Errorf("outdated repository format, please use https://github.com/MichaelMure/git-bug-migration to upgrade")
}