Skip to content

Commit 5017518

Browse files
committed
insteadOf is actually opt-in, https+iap:// remotes can be used instead
1 parent a1a39ce commit 5017518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/git-remote-https+iap/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ func configureIAP(cmd *cobra.Command, args []string) {
119119
Value: https,
120120
}
121121
if strings.Contains(repo.Host, "*") {
122-
log.Warn().Msg("While config is valid for wildcard hosts, git IAP auth requires \"insteadOf\" config for actual hosts")
123-
log.Info().Msg("Actual hosts must be manually configured as follows (* replaced with subdomain):")
122+
log.Warn().Msg("While config is valid for wildcard hosts, transparent support for https:// remotes require \"insteadOf\" config")
123+
log.Info().Msg("Actual hosts must be manually configured as follows (with * replaced by subdomain):")
124124
log.Info().Msg(insteadOf.CommandSuggestGlobal())
125125
} else {
126126
git.SetConfigGlobal(insteadOf)

0 commit comments

Comments
 (0)