diff options
Diffstat (limited to 'identity/identity.go')
-rw-r--r-- | identity/identity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/identity/identity.go b/identity/identity.go index b9d40967..809719e6 100644 --- a/identity/identity.go +++ b/identity/identity.go @@ -416,7 +416,7 @@ func (i *Identity) Validate() error { return err } - if v.time < lastTime { + if v.commitHash != "" && v.time < lastTime { return fmt.Errorf("non-chronological version (%d --> %d)", lastTime, v.time) } |