diff options
| author | Luka Perkov <luka@openwrt.org> | 2013-09-07 02:01:03 +0200 |
|---|---|---|
| committer | Frank Terbeck <ft@bewatermyfriend.org> | 2013-09-07 10:09:11 +0200 |
| commit | c7213566462e2a7279e19a22027fa23b21c8e722 (patch) | |
| tree | dfb6c15f5c8e9e8584469fb6b930a59d0ea2479d /Completion/Unix/Command/_git | |
| parent | 31702: check for git rebase -i for autosquash (diff) | |
| download | zsh-c7213566462e2a7279e19a22027fa23b21c8e722.tar zsh-c7213566462e2a7279e19a22027fa23b21c8e722.tar.gz zsh-c7213566462e2a7279e19a22027fa23b21c8e722.tar.bz2 zsh-c7213566462e2a7279e19a22027fa23b21c8e722.tar.lz zsh-c7213566462e2a7279e19a22027fa23b21c8e722.tar.xz zsh-c7213566462e2a7279e19a22027fa23b21c8e722.tar.zst zsh-c7213566462e2a7279e19a22027fa23b21c8e722.zip | |
31708: _git: add --fixup and --squash options to commit
Signed-off-by: Luka Perkov <luka@openwrt.org>
Diffstat (limited to 'Completion/Unix/Command/_git')
| -rw-r--r-- | Completion/Unix/Command/_git | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 144869836..a24069a0e 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -591,6 +591,8 @@ _git-commit () { # TODO: --interactive isn’t explicitly listed in the documentation. _arguments -w -S -s \ '(-a --all --interactive -o --only -i --include *)'{-a,--all}'[stage all modified and deleted paths]' \ + '--fixup=[construct a commit message for use with rebase --autosquash]:' \ + '--squash=[construct a commit message for use with rebase --autosquash]:' \ $reset_author_opt \ '( --porcelain --dry-run)--short[output dry run in short format]' \ '(--short --dry-run)--porcelain[output dry run in porcelain-ready format]' \ |
