From edc4814cedc6e8d1c865d5afe443bf03d039922c Mon Sep 17 00:00:00 2001 From: sgleizes Date: Sat, 23 May 2020 13:36:13 +0200 Subject: [PATCH] Fix missing newline escapes in git-release zsh completion --- etc/git-extras-completion.zsh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/etc/git-extras-completion.zsh b/etc/git-extras-completion.zsh index 801a361..6f4a18d 100644 --- a/etc/git-extras-completion.zsh +++ b/etc/git-extras-completion.zsh @@ -335,7 +335,7 @@ _git-guilt() { } _git-ignore() { - _arguments -C \ + _arguments -C \ '(--local -l)'{--local,-l}'[show local gitignore]' \ '(--global -g)'{--global,-g}'[show global gitignore]' \ '(--private -p)'{--private,-p}'[show repo gitignore]' @@ -343,7 +343,7 @@ _git-ignore() { _git-ignore() { - _arguments -C \ + _arguments -C \ '(--append -a)'{--append,-a}'[append .gitignore]' \ '(--replace -r)'{--replace,-r}'[replace .gitignore]' \ '(--list-in-table -l)'{--list-in-table,-l}'[print available types in table format]' \ @@ -410,7 +410,7 @@ _git-squash() { } _git-stamp() { - _arguments -C \ + _arguments -C \ '(--replace -r)'{--replace,-r}'[replace stamps with same id]' } @@ -435,18 +435,18 @@ _git-summary() { _git-release() { _arguments -C \ - '-c[Generates/populates the changelog with all commit message since the last tag.]' - '-r[The "remote" repository that is destination of a push operation.]' - '-m[use the custom commit information instead of the default message.]' - '-s[Create a signed and annotated tag.]' - '-u[Create a tag, annotated and signed with the given key.]' - '--semver[If the latest tag in your repo matches the semver format requirement, you could increase part of it as the new release tag.]' - '--no-empty-commit[Avoid creating empty commit if nothing could be committed.]' + '-c[Generates/populates the changelog with all commit message since the last tag.]' \ + '-r[The "remote" repository that is destination of a push operation.]' \ + '-m[use the custom commit information instead of the default message.]' \ + '-s[Create a signed and annotated tag.]' \ + '-u[Create a tag, annotated and signed with the given key.]' \ + '--semver[If the latest tag in your repo matches the semver format requirement, you could increase part of it as the new release tag.]' \ + '--no-empty-commit[Avoid creating empty commit if nothing could be committed.]' \ '--[The arguments listed after "--" separator will be passed to pre/post-release hook.]' } _git-undo(){ - _arguments -C \ + _arguments -C \ '(--soft -s)'{--soft,-s}'[only rolls back the commit but changes remain un-staged]' \ '(--hard -h)'{--hard,-h}'[wipes your commit(s)]' }