gh-poi: Failed to run external command: git, args: [branch --merged origin/]
Describe the bug
When I install this extension and try to run it with gh poi --dry-run, I receive the following output:
» gh poi --dry-run
== DRY RUN ==
✕ Fetching pull requests...
failed to run external command: git, args: [branch --merged origin/]
exit status 128
Your Environment
- OS: macOS 12.6
- gh (Check with
gh --version):2.18.0 - gh-poi (Check with
gh ext ls):v0.6.3 - git:
2.37.0 (Apple Git-136)
This seems to be the case regardless of which repo I run it in.
If I run git branch --merged origin or git branch --merged origin/, I get this output:
fatal: malformed object name origin
I’m not sure how to further debug this, but I’m happy to help however I can!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (9 by maintainers)
@seachicken thank you!
Just FYI
ghdoesn’t allow upgrading pinned extensions:So I just did
gh ext remove poiand thengh ext install seachicken/gh-poiand that worked great!Thank you! Here’s what I get after upgrading:
And here’s the full output, in case it’s helpful:
Interesting, a new error!
Does this provide more/better information?
Hmm, that does result in an error:
I do have this in my
~/.ssh/config:Thank you! Here’s what I get – I’m not sure I did exactly what you were asking; please let me know if I’ve messed up anywhere 😊
@seachicken thanks for the reply! Here’s what I get: