Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Consulting] Install on windows #390

Open
ej612 opened this issue Feb 20, 2024 · 0 comments
Open

[Consulting] Install on windows #390

ej612 opened this issue Feb 20, 2024 · 0 comments

Comments

@ej612
Copy link

ej612 commented Feb 20, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant