spacedentist / spr

Submit pull requests for individual, amendable, rebaseable commits to GitHub

Home Page:https://getcord.github.io/spr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spr doesn't work well with git worktrees?

jduan-highnote opened this issue Β· comments

I was able to spr init just fine for my repo. However, when I run spr diff from a git worktree, I get this error:

  πŸ›‘  object not found - no match for id (aa1d3cfa12a67a60408240eecdb08d4a3a64460a); class=Odb (9); code=NotFound (-3)

Do worktrees confuse spr? Thanks!

spr looks really cool and I really want to use it!

Interesting. Is there an easy way to repro this?

Can you try the following?

1. cd into a git repo (say awesome_repo)
2. git worktree add ../awesome_repo2 origin/main
3. cd ../awesome_repo2
4. change some files and make a commit
5. spr diff