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.
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!