Missing argument when using move
- Dominant language
- Shell
- Stars
- 490
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Using the move command makes it move to the new branch but throw out this error.
`fish, version 4.8.0`
```
move main
[: Missing argument at index 3
main =
^
~/.config/fish/conf.d/gitnow.fish (line 468):
if [ "$v_branch" = (__gitnow_current_branch_name) ]
^
in function 'move' with arguments 'main'
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at ~/.config/fish/conf.d/gitnow.fish around line 468 and inspect the move function's branch comparison. Reproduce the issue with `move main` in fish 4.8.0, then verify the command switches branches without the missing-argument error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fish, git
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100