Describe the bug In your new code, you give the ability to create bean from GitCredentialsProviderFactory but when working with PatternMatchingJGitEnvironmentRepository. The factory in the PatternMatchingJGitEnvironmentRepository remains the original GitCredentialsProviderFactory.
I suggest to add to the build method in MultipleJGitEnvironmentRepositoryFactory the line at the end:
repository.getRepos().forEach((name, repo) ->repo.setGitCredentialsProviderFactory(gitCredentialsProviderFactory));
If this fine by you - I will add it to the code
Comment From: ryanjbaxter
Is this PR related to this issue? https://github.com/spring-cloud/spring-cloud-config/pull/1948
Comment From: avnerstr
Yes
Comment From: avnerstr
@ryanjbaxter are you going to merge my fix? and any ETA? I prefer not use my own jar in production code and I need this code