Spr doesn't work well with git worktrees?
jduan-highnote opened this issue Β· comments
Jingjing Duan commented
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!
Sven Over commented
Interesting. Is there an easy way to repro this?
Jingjing Duan commented
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