aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-08 22:04:51 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-08 22:04:51 +0100
commita335725cc5f712f3f3089154afa96881284d4853 (patch)
tree6194bc6813820ef2f1504efdc3d46b289a49e10e
parent8773929f963b847841fac0d3c42d6278de69b79c (diff)
downloadgit-bug-a335725cc5f712f3f3089154afa96881284d4853.tar.gz
bridge: fix wrong error used
-rw-r--r--bridge/core/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/core/config.go b/bridge/core/config.go
index adee5f08..8d306ef6 100644
--- a/bridge/core/config.go
+++ b/bridge/core/config.go
@@ -19,7 +19,7 @@ func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error {
// if a default user exist, tag it with the login
user, err := repo.GetUserIdentity()
- if err != nil && err != identity.ErrIdentityNotExist {
+ if err != nil && err != identity.ErrNoIdentitySet {
// real error
return err
}