mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
[git completions] Offer unmerged files for add
These occur e.g. when resolving a conflict, which then needs `git add`.
This commit is contained in:
parent
b24971dc9e
commit
f3c864a9e2
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ complete -c git -n '__fish_git_using_command add' -l ignore-errors -d 'Ignore er
|
|||
complete -c git -n '__fish_git_using_command add' -l ignore-missing -d 'Check if any of the given files would be ignored'
|
||||
# Renames also show up as untracked + deleted, and to get git to show it as a rename _both_ need to be added.
|
||||
# However, we can't do that as it is two tokens, so we don't need renamed here.
|
||||
complete -f -c git -n '__fish_git_using_command add' -a '(__fish_git_files modified untracked deleted)'
|
||||
complete -f -c git -n '__fish_git_using_command add' -a '(__fish_git_files modified untracked deleted unmerged)'
|
||||
# TODO options
|
||||
|
||||
### checkout
|
||||
|
|
Loading…
Reference in a new issue