Unable to update on Windows
Open
Nobody has claimed this yet.
bug
os: windows
- Dominant language
- Shell
- Stars
- 18.1k
- Forks
- 1.2k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 1
Description
I'm unable to update git-extras using the command "git extras update" on Windows 10:
>>> sudo git extras update
Setting up 'git-extras'....
'C:\Users\Rafael' is not recognized as an internal or external command,
operable program or batch file.
My home folder is: "C:\Users\Rafael Dominiquini"
My git is installed on: "C:\Program Files\Git"
- In the git-extras file, I debug this variables:
local bin="$(command -v git-extras)"
local prefix=${bin%/*/*}
- Value:
BIN: /mingw64/bin/git-extras
PREFIX: /mingw64
I was able to update the program using the installation method:
- Cloning the repository
- Running "sudo install.cmd"
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the git-extras file and the git extras update path, using the reported Windows 10 command and the paths containing spaces as the reproduction. Compare that behavior with the working install.cmd method. Done means the update command runs successfully from the reported Windows setup; no test file is mentioned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100