withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

Untracked branches are not suggested for `git switch` command #2858

Open tpluscode opened 11 months ago

tpluscode commented 11 months ago

Checks

Operating system

macOS 14.2.0 (23C64)

Expected behaviour

When I type git switch suggestion should include branch names from remote branches

Actual behaviour

Remote branches are not displayed. I need to hit ESC to get rid of fig's UI and rely on git's native autocompletion

Steps to reproduce

No response

Environment

fig-details:
  - 2.17.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
  - cores: 8
  - mem: 40.00 GB
os-info:
  - macOS 14.2.0 (23C64)
environment:
  - shell: /bin/zsh
  - terminal: intellij-idea-ultimate
  - cwd: /Users/tplus/projects/zazuko/barnard59
  - exe-path: /usr/local/bin/fig
  - install-method: unknown
  - env-vars:
    - FIGTERM_SESSION_ID: bd2ed10b-74ca-49bd-8ae1-b7b946b6c6da
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /Users/tplus/.rvm/gems/ruby-3.0.0/bin:/Users/tplus/.rvm/gems/ruby-3.0.0@global/bin:/Users/tplus/.rvm/rubies/ruby-3.0.0/bin:/Users/tplus/.local/share/fig/plugins/git-open:/Users/tplus/.jenv/shims:/Users/tplus/.jenv/bin:/usr/local/opt/curl/bin:/Users/tplus/.pyenv/shims:/Users/tplus/.zinit/polaris/bin:/Users/tplus/.nvm/versions/node/v18.17.1/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/MacGPG2/bin:/Users/tplus/projects/zazuko/barnard59/node_modules/.bin:/Users/tplus/.fig/bin:/Users/tplus/.local/bin:/Users/tplus/.local/bin:/Users/tplus/.rvm/bin:/Users/tplus/.local/bin:/Users/tplus/.local/share/fig/plugins/kubecolor_droctothorpe/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.jetbrains.intellij
    - FIG_PID: 31732
    - FIG_SET_PARENT: bd2ed10b-74ca-49bd-8ae1-b7b946b6c6da