Merge pull request #3982 from MichaelEischer/show-compression-mode

Show selected compression level when opening repository
This commit is contained in:
rawtaz 2022-10-30 21:29:42 +01:00 committed by GitHub
commit 4f1fae9c98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,7 +498,7 @@ func OpenRepository(ctx context.Context, opts GlobalOptions) (*repository.Reposi
id = id[:8]
}
if !opts.JSON {
Verbosef("repository %v opened (repository version %v) successfully, password is correct\n", id, s.Config().Version)
Verbosef("repository %v opened (version %v, compression level %v)\n", id, s.Config().Version, opts.Compression.String())
}
}