From 87b97ca4b2f39240c698596ac14a6d3532f6363d Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sat, 15 Feb 2020 13:45:14 +0100 Subject: bridges: more refactor and cleanup --- bridge/core/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bridge/core/config.go') diff --git a/bridge/core/config.go b/bridge/core/config.go index afcda560..7f8d7e13 100644 --- a/bridge/core/config.go +++ b/bridge/core/config.go @@ -1,6 +1,8 @@ package core import ( + "fmt" + "github.com/MichaelMure/git-bug/cache" "github.com/MichaelMure/git-bug/identity" ) @@ -24,6 +26,7 @@ func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error { return err } if err == nil { + fmt.Printf("Current identity %v tagged with login %v\n", user.Id().Human(), login) // found one user.SetMetadata(metaKey, login) return user.CommitAsNeeded() @@ -42,5 +45,7 @@ func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error { return err } + fmt.Printf("Identity %v created, set as current\n", i.Id().Human()) + return nil } -- cgit