diff options
| author | Oliver Kiddle <opk@zsh.org> | 2023-03-16 22:16:52 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2023-03-16 22:16:52 +0100 |
| commit | 9bd477dce9a5887d42a5365aaf8906ac1f118510 (patch) | |
| tree | 55a60a3abd6ddb1e6e4ea4c2ea8da647e1df450c /Completion/Unix/Command/_git | |
| parent | 51582: openssh 9.3 completion update (diff) | |
| download | zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.tar zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.tar.gz zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.tar.bz2 zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.tar.lz zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.tar.xz zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.tar.zst zsh-9bd477dce9a5887d42a5365aaf8906ac1f118510.zip | |
51583: update completion of git attributes
Diffstat (limited to 'Completion/Unix/Command/_git')
| -rw-r--r-- | Completion/Unix/Command/_git | 81 |
1 files changed, 36 insertions, 45 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 1a9c79034..1c3a95031 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -5866,46 +5866,51 @@ _git-upload-pack () { (( $+functions[_git-check-attr] )) || _git-check-attr () { - local z_opt= - - local curcontext=$curcontext state line ret=1 + local curcontext="$curcontext" z_opt ret=1 + local -a state line declare -A opt_args if (( words[(I)--stdin] )); then - z_opt='-z[paths are separated with NUL character when reading from stdin]' + z_opt='-z[terminate input file list and output records by a NUL character]' + else + z_opt='-z[separate output records with NUL character]' |
