-
-
Notifications
You must be signed in to change notification settings - Fork 397
Open
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 the current directory isn't part of a git repository with the message Error: Could not find a git repository in '.' or in any of its parents
From a bit of testing it seems to be originating from this line:
Line 661 in 0a576b9
| repository(Mode::StrictWithGitInstallConfig)?, |
Expected behavior 🤔
gix credential fill should run, no matter if in a git repository or not
Git behavior
git credential fill runs, no matter if in a git repository or not
Steps to reproduce 🕹
- Go into a directory that isn't part of any git repository
- Run both gix and git with the subcommand
$ git credential fill << EOF
protocol=https
host=github.com
EOFMetadata
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