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

Panic when pulling deleted remote branch #911

Closed
utherpally opened this issue Sep 21, 2021 · 0 comments · Fixed by #915
Closed

Panic when pulling deleted remote branch #911

utherpally opened this issue Sep 21, 2021 · 0 comments · Fixed by #915
Labels
bug Something isn't working
Milestone

Comments

@utherpally
Copy link

To Reproduce

  1. Open gitui and press f (pull) on the deleted remote branch.
$ gitui
Error: git error:reference 'refs/remotes/origin/xxx' not found; class=Reference (4); code=NotFound (-3)

Caused by:
    reference 'refs/remotes/origin/xxx' not found; class=Reference (4); code=NotFound (-3)

Expected behavior
Show dialog with a not found error message

Software version

gitui 0.17.0

Operating system

Linux 5.14.5-arch1-1

Compile time information

  • Profile: release
  • Target triple: x86_64-unknown-linux-gnu
  • Family: unix
  • OS: linux
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2
  • Host: x86_64-unknown-linux-gnu

Environment variables

SHELL=/usr/bin/zsh
EDITOR=hx
GIT_EDITOR=<not set>
VISUAL=<not set>

Command-line

gitui --bugreport 
@extrawurst extrawurst added the bug Something isn't working label Sep 21, 2021
@extrawurst extrawurst added this to the v0.18 milestone Sep 21, 2021
@extrawurst extrawurst linked a pull request Sep 24, 2021 that will close this issue
extrawurst pushed a commit that referenced this issue Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants