aboutsummaryrefslogtreecommitdiffstats
path: root/entity
diff options
context:
space:
mode:
Diffstat (limited to 'entity')
-rw-r--r--entity/err.go2
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)