Hi Mark,
On Thu, 13 Jun 2019, Mark Waite wrote:
> On Thu, Jun 13, 2019 at 10:44 AM Johannes Schindelin wrote:
>
> > On Thu, 13 Jun 2019, Mark Waite wrote:
> >
> > > On Thu, Jun 13, 2019 at 9:25 AM Mark Waite wrote:
> > >
> > > > It looks like there is a setting written to the user .gitconfig
> > > > file:
> > > >
> > > > credential.helperselector.selected=<no helper>
> > > >
> > > > I think the Jenkins git client plugin will need to see that value
> > > > if it detects that it is running on Windows and command line git
> > > > 2.22.0 or later is detected. Does that seem reasonable?
> > >
> > > I think the Jenkins git client plugin will need to *set* that value
> > > if it detects that it is running on Windows and command line git
> > > 2.22.0 or later is detected. Does that seem reasonable?
> >
> > Sorry about the troubles.
> >
> > The safest way is to override the `credential.helper = helper-selector`
> > setting. Either you do that in the unpacked Portable Git, via
> >
> > .../cmd/git config --system credential.helper ""
> >
> > or by doing the same in `.gitconfig`:
> >
> > [credential]
> > helper =
>
> Thanks. As far as I can tell, I already had that in my configuration and
> was still seeing the pop-up window.
Hmm. That is strange. You might have uncovered a bug. Can you check what
`git config --show-origin --get-all credential.helper` says?
> The pop-up window has not reappeared since I added:
>
> credential.helperselector.selected=<no helper>
This actually should only make sure that the default is to use no helper,
but the GUI would still be shown.
> Is it unsafe or unhealthy to set 'credential.helperselector.selected=<no
> helper>' when I'm using a working directory inside a batch process like the
> Jenkins git client plugin does?
I would be surprised if it did what you want it to do...
Really, what you want is to disable the helper-selector altogether, and I
still think that setting `credential.helper` to the empty value in your
`$HOME/.gitconfig` is the way to go.
Ciao,
Johannes