mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 23:21:45 +08:00
fixup! completions/git: handle "1 .A" files
This commit is contained in:
parent
14855de95a
commit
b633b443ba
|
@ -256,9 +256,9 @@ function __fish_git_files
|
|||
end
|
||||
case '1 .A*'
|
||||
# Files added with git add --intent-to-add.
|
||||
set -ql added
|
||||
set -ql untracked
|
||||
and set file "$line[9..-1]"
|
||||
and set desc $added_desc
|
||||
and set desc $untracked_desc
|
||||
case '1 .M*'
|
||||
# Modified
|
||||
# From the docs: "Ordinary changed entries have the following format:"
|
||||
|
|
Loading…
Reference in New Issue
Block a user