Ensure display of modified files for git commit

This commit is contained in:
Jan Ernsting 2015-09-07 13:35:34 +02:00
parent 396e01a0e0
commit f36d2ff55f

View file

@ -237,7 +237,7 @@ complete -f -c git -n '__fish_git_needs_command' -a clone -d 'Clone a repository
### commit ### commit
complete -c git -n '__fish_git_needs_command' -a commit -d 'Record changes to the repository' 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' -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 # TODO options
### diff ### diff