diff options
author | Michael Muré <batolettre@gmail.com> | 2021-02-14 12:14:03 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-02-14 12:19:51 +0100 |
commit | d0d7be8db010e2c68c98d0a34387e4fac0c4d6ee (patch) | |
tree | 80451e6049676a7cce43bf7a0bea1e5165f74185 /entity/err.go | |
parent | 4b9862e239deb939c87be2b02970a7bfe2996e13 (diff) | |
download | git-bug-d0d7be8db010e2c68c98d0a34387e4fac0c4d6ee.tar.gz |
minor cleanups
Diffstat (limited to 'entity/err.go')
-rw-r--r-- | entity/err.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/err.go b/entity/err.go index 9222e4da..9f7f5a1a 100644 --- a/entity/err.go +++ b/entity/err.go @@ -52,7 +52,7 @@ func NewErrUnknowFormat(expected uint) *ErrInvalidFormat { func (e ErrInvalidFormat) Error() string { if e.version == 0 { - return fmt.Sprintf("unreadable data, expected format version %v", e.expected) + return fmt.Sprintf("unreadable data, you likely have an outdated repository format, please use https://github.com/MichaelMure/git-bug-migration to upgrade to format version %v", e.expected) } if e.version < e.expected { return fmt.Sprintf("outdated repository format %v, please use https://github.com/MichaelMure/git-bug-migration to upgrade to format version %v", e.version, e.expected) |