-
-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is neededExtra attention is needed
Description
Current behavior 😯
gix credential fill
fails if url
field is not provided, even if protocol
and host
are set
url
When this special attribute is read by git credential, the value is parsed as a URL and treated as if its constituent parts were read (e.g.,
url=https://example.com
would behave as ifprotocol=https
andhost=example.com
had been provided).
from the git-credential documentation
Expected behavior 🤔
gix credential fill
should only fail if both url
aswell as protocol
and host
are not set
Git behavior
git credential fill
only fails if both url
aswell as protocol
and host
are not set
Steps to reproduce 🕹
- Run
$ gix credential fill << EOF
protocol=https
host=github.com
EOF
- Run
$ git credential fill << EOF
protocol=https
host=github.com
EOF
- Compare output (git works, gix fails due to missing
url
field)
Metadata
Metadata
Assignees
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is neededExtra attention is needed