Skip to content

Conversation

@hmarr
Copy link
Contributor

@hmarr hmarr commented Feb 19, 2019

Quoting treats the full command as the path to binary, which prevents arguments from being provided.

According to the Git documentation arguments should be accepted. This also matches the behaviour of git itself.

I discovered this issue through Cargo's use of this library.

Quoting treats the full command as the path to binary, which prevents
arguments from being provided.

According to the [Git documentation][git-docs] arguments
should be accepted. This also [matches the behaviour][git-source] of git
itself.

[git-docs]: https://git-scm.com/docs/api-credentials#_credential_helpers
[git-source]: https://github.com/git/git/blob/ca1b4116483b397e78483376296bcd23916ab553/credential.c#L258-L261
@alexcrichton
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants