aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
diff options
context:
space:
mode:
authorGravatar Jan Ernsting <jan.ernsting@gmail.com>2015-09-07 13:35:34 +0200
committerGravatar Jan Ernsting <jan.ernsting@gmail.com>2015-09-07 13:35:34 +0200
commitf36d2ff55fe4f205ae63cfb03b59065bf5daa4d8 (patch)
tree7c5288ca6c2945024cce95e0299b21eb5656d22c /share/completions/git.fish
parent396e01a0e04462c3433f39ff6e4ece8eb5714da5 (diff)
Ensure display of modified files for git commit
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r--share/completions/git.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index 2e0b17d2..34a2d957 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -237,7 +237,7 @@ complete -f -c git -n '__fish_git_needs_command' -a clone -d 'Clone a repository
### commit
complete -c git -n '__fish_git_needs_command' -a commit -d 'Record changes to the repository'
complete -c git -n '__fish_git_using_command commit' -l amend -d 'Amend the log message of the last commit'
-complete -c git -n '__fish_git_using_command commit' -a '(__fish_git_modified_files)'
+complete -f -c git -n '__fish_git_using_command commit' -a '(__fish_git_modified_files)'
# TODO options
### diff