diff options
| author | Oliver Kiddle <opk@zsh.org> | 2023-03-27 21:11:34 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2023-03-27 21:11:34 +0200 |
| commit | 324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a (patch) | |
| tree | 2f58077d1709a3bde539845050f449f0b0f911cb /Completion/Unix | |
| parent | 58586: print "%s" with invalid multibyte character (diff) | |
| download | zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.tar zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.tar.gz zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.tar.bz2 zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.tar.lz zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.tar.xz zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.tar.zst zsh-324d0e7cc710fd0dd8e3a50ccc0a4ba57ec6cb7a.zip | |
51603: complete dates and times in the form that git accepts
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Command/_git | 101 |
1 files changed, 82 insertions, 19 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 1c3a95031..1d4fe20c9 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -996,7 +996,7 @@ _git-gc () { _arguments -S -s $endopt \ '--aggressive[more aggressively optimize]' \ '--auto[check whether housekeeping is required]' \ - '( --no-prune)--prune=-[prune loose objects older than given date]::date [2 weeks ago]:__git_datetimes' \ + '( --no-prune)--prune=-[prune loose objects older than given date]::date [2 weeks ago]:_git_approxidates' \ '(--prune )--no-prune[do not prune any loose objects]' \ '(-q --quiet)'{-q,--quiet}'[suppress progress reporting]' \ '--keep-largest-pack[repack all other packs except the largest pack]' \ @@ -2371,10 +2371,14 @@ _git-worktree() { _arguments -S $endopt \ |
