Browse Source

only show modified files in 'git add'

pull/6/head
DanielFGray 4 years ago
parent
commit
3728b7fafc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      fzgit

+ 1
- 1
fzgit View File

@@ -217,7 +217,7 @@ git_add() { # {{{
local out response query key header
header='use ctrl-p to add in patch mode'
# TODO: needs better filtering
while out=$(git ls-files --exclude-standard |
while out=$(git ls-files -m --exclude-standard |
fzf --prompt='add' --tac --multi \
--header="$header" --query="$query" --print-query \
--bind=ctrl-p:accept --expect=ctrl-p)

Loading…
Cancel
Save