mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user