mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-12 05:15:24 +08:00
parent
5abc6060a4
commit
14855de95a
@ -254,6 +254,11 @@ function __fish_git_files
|
|||||||
set file "$line[9..-1]"
|
set file "$line[9..-1]"
|
||||||
set desc $modified_desc
|
set desc $modified_desc
|
||||||
end
|
end
|
||||||
|
case '1 .A*'
|
||||||
|
# Files added with git add --intent-to-add.
|
||||||
|
set -ql added
|
||||||
|
and set file "$line[9..-1]"
|
||||||
|
and set desc $added_desc
|
||||||
case '1 .M*'
|
case '1 .M*'
|
||||||
# Modified
|
# Modified
|
||||||
# From the docs: "Ordinary changed entries have the following format:"
|
# From the docs: "Ordinary changed entries have the following format:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user