Skip to content

Wrong GIT_ASKPASS value #24929

@jlmounsamy-swiftconnect

Description

I recently configured git credentials providing in a config management plugin and I noticed something.

By default the GIT_ASKPASS environment variable is set to argocd (as you can see here) which does not wok because the CLI must be named argocd-git-ask-pass to expose the right commands.

I have to override the GIT_ASKPASS variable at the beginning of my script with the right value for it to work.

export GIT_ASKPASS="argocd-git-ask-pass"

Is there something I am missing here or is it an error in util/askpass/server.go?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage/pendingThis issue needs further triage to be correctly classified

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions