You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no documentation for how to install on windows, so I did my best, but I can't seem to get it to work. I'm not sure if I'm doing it wrong or if there's a bug that breaks the tool if paths contain a space.
Steps
I copied git-spr.exe, git-amend.exe & spr_reword_helper.exe to C:\Program Files\Git\mingw64\libexec\git-core
In my git repo, I created a commit & ran git spr update
The command fails with the following error message:
$git spr update
> git rev-parse --show-toplevel
> git fetch
> git rebase origin/master --autostash
> github fetch pull requests
> git log --format=medium --no-color origin/master..HEAD
> git rebase origin/master -i --autosquash --autostash
git error: Created autostash: fc473cb3
C:\Program Files\Git\mingw64\libexec\git-core\spr_reword_helper.exe: line 1: C:Program: command not found
error: There was a problem with the editor 'C:\Program Files\Git\mingw64\libexec\git-core\spr_reword_helper.exe'.
Applied autostash.
> git log --format=medium --no-color origin/master..HEAD
panic: unable to fetch local commits
most likely this is an issue with missing commit-id in the commit body
The first error message C:Program: command not found made me open this ticket, as it might be a bug.
The second message about missing commit ids came as a surprise, as there's no mention of having to set this up in the docs.
Any help is appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered:
I also ran into this, and short of digging into the code to try to resolve the error myself haven't found a possible resolution. Unfortunately the tool seems to have died, with the last commit 4 months ago.
It does appear to work when run through WSL, so not all is lost if you're dead set on trying this out in a Windows environment.
Hi there,
There's no documentation for how to install on windows, so I did my best, but I can't seem to get it to work. I'm not sure if I'm doing it wrong or if there's a bug that breaks the tool if paths contain a space.
Steps
git-spr.exe
,git-amend.exe
&spr_reword_helper.exe
toC:\Program Files\Git\mingw64\libexec\git-core
git spr update
The command fails with the following error message:
The first error message
C:Program: command not found
made me open this ticket, as it might be a bug.The second message about missing commit ids came as a surprise, as there's no mention of having to set this up in the docs.
Any help is appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered: