diff options
author | Terje Larsen <terlar@gmail.com> | 2016-05-11 13:33:22 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-05-11 13:33:22 +0200 |
commit | 4244a6e6fef9c466c2f3f93d9da9af3abc4a73ac (patch) | |
tree | 3b2894245a5daf4364055790ef02d486b00e49f5 /share/completions | |
parent | b055b8440c87c69e7f92a81f114ee77f48940f66 (diff) |
Add git commit --fixup completions (#3021)
Diffstat (limited to 'share/completions')
-rw-r--r-- | share/completions/git.fish | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish index d8e7b1a8..f8c64458 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -335,6 +335,8 @@ complete -f -c git -n '__fish_git_using_command clone' -l recursive -d 'Initiali 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 -f -c git -n '__fish_git_using_command commit' -a '(__fish_git_modified_files)' +complete -f -c git -n '__fish_git_using_command commit' -l fixup -d 'Fixup commit to be used with rebase --autosquash' +complete -f -c git -n '__fish_git_using_command commit; and __fish_contains_opt fixup' -a '(__fish_git_commits)' # TODO options ### diff |