Print repository ID after opening

This commit is contained in:
Alexander Neumann 2018-04-29 14:19:10 +02:00
parent d926b9fd80
commit d8bbe5dc84
1 changed files with 5 additions and 1 deletions

View File

@ -355,7 +355,11 @@ func OpenRepository(opts GlobalOptions) (*repository.Repository, error) {
}
if stdoutIsTerminal() {
Verbosef("password is correct\n")
id := s.Config().ID
if len(id) > 8 {
id = id[:8]
}
Verbosef("repository %v opened successfully, password is correct\n", id)
}
if opts.NoCache {