summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-05-19__git_commit_objects: do not use _guard, but only a patternDaniel Hahler2-1/+4
With using `_guard` there like it's been done, the completion could not be selected, probably because of the call to `_message` therein. This changes it to use only the logic/check from `_guard` that we want here.
2015-05-19Completion/Unix/Command/_git: remove -2 with __git_recent_commitsDaniel Hahler2-1/+6
Remove "-2" for _describe in __git_recent_commits. This fixes the duplicate entries issue, because __git_recent_commits gets called twice for _git-checkout (for __git_revisions and __git_tree_ishs): 1. __git_commit_objects_prefer_recent _alternative __git_commits __git_revisions _alternative _git-checkout 2. __git_commit_objects_prefer_recent _alternative __git_commits __git_tree_ishs _alternative _git-checkout
2015-05-1935204: fix broken __git_recent_commits from previous commitDaniel Hahler2-1/+4
This fixes 1e7bb4a: newlines need to be kept (from the "%d" part).
2015-05-1935164: fix __git_commit_objects/__git_recent_commitsDaniel Hahler2-2/+7
$pipestatus for `: foo` is 0 always. Without this, "git checkout" in a non-git directory would complete " ", but not result in a note/error about not being in a git dir.
2015-05-19users/20222: completion: git: Add matchspec for headsDaniel Shahaf2-4/+9
Allows 'git checkout o/m<TAB>' to complete 'origin/master'. Moreover, '/x<TAB>' would complete 'foo/bar/xyzzy/baz', since the matchspec uses not '*' but '**'.
2015-05-1835193: Add "unalias -a".Peter Stephenson5-8/+59
2015-05-1835187: unbalanced parentheses in _vimPeter Stephenson2-1/+3
2015-05-1835184: Additional case fix for 35168.Peter Stephenson3-2/+18
Lexical analysis flags got screwed up after a "|", so we didn't parse patterns properly, in particular those with parentheses.
2015-05-1835168: Improve parsing of case patterns.Peter Stephenson14-123/+159
"|" is now found properly by looking for words that come from the lexical analyser, rather than hacking a pattern returned in one dollop. Update some completion functions that need extra quoting as a result. Add test for new parsing. Update version number to 5.0.8-dev-3 because of wordcode incompatibility.
2015-05-1835105: completion: git: add distance_from_head to __git_recent_commitsDaniel Shahaf2-1/+17
This adds the "HEAD~15" gitrevisions(7) identifier of the commit to the description, which also uniquifies, isn't redundant, and may be easier to type. Ref: zsh-workers/34820 (http://www.zsh.org/mla/workers/2015/msg00744.html)
2015-05-1835106: completion: git: unique name for __git_recent_commitsDaniel Hahler2-1/+3
This helps to distinguish it from __git_commit_objects.
2015-05-1835103: completion: git: add %cr to commit objects (all and recent)Daniel Hahler2-2/+5
2015-05-1835104: completion: git: __git_commit_objects: query 1000 commitsDaniel Hahler2-2/+8
Also, `--all` and `--reflog` is used to get all commits. It adds the _guard in front, so only non-empty values will come here. Also, __git_commit_objects_prefer_recent will only call it, if there are no matching recent commits.
2015-05-1835101: completion: git: add __git_commit_objects_prefer_recentDaniel Hahler2-1/+11
This is used with __git_commits then, and is meant to only call __git_recent_commits, if there are matches.
2015-05-1835100: __git_recent_commits: massage ' ->*' from headsDaniel Hahler2-0/+7
Handle " -> master, origin/master" in decorated git-log output, and add it as separate entries.
2015-05-1835126: add missing ChangeLog entry for previous commitDaniel Hahler1-0/+5
2015-05-17completion: git: add missing return to __git_recent_commitsDaniel Hahler1-0/+1
2015-05-1635161: completion: git: Fix typo in 35061Daniel Shahaf2-1/+6
2015-05-1535155: cmdpop() could be called erroneously on errorPeter Stephenson2-2/+9
2015-05-15users/20219: fix completion for git optionsOliver Kiddle2-2/+6
2015-05-1535154: NEWS on arithmetic evaluation changesPeter Stephenson2-0/+9
2015-05-1535153: nested math substitutionPeter Stephenson3-2/+21
2015-05-1535151: improved check for parameter q and b flagsPeter Stephenson2-1/+4
2015-05-1535131: allow "[]" to match empty character set.Peter Stephenson2-1/+16
This only works if there's no further "]" in the pattern, since if there is the first "]" has to match a literal character.
2015-05-1535139: complete the new (b) parameter flagOliver Kiddle2-0/+3
2015-05-14Øystein Walle: 34841 (tweaked): allow grouping of thousands in printf ↵Oliver Kiddle2-3/+6
format string
2015-05-14unposted: include .distfiles for new directoryOliver Kiddle2-0/+4
2015-05-1435062: __git_setup_revision_options includes __git_setup_diff_optionsDaniel Hahler2-4/+4
2015-05-1435061: add __git_setup_diff_stage_options and use it with _git-diff-files ↵Daniel Hahler2-6/+20
and _git-diff explicitly
2015-05-1435016: introduce new pretty formats %g[sdD] for reflog informationDaniel Hahler2-1/+6
2015-05-1435110: don't implicitly initialize restricted integers to zeroPeter Stephenson3-1/+29
2015-05-1335092: fix for numeric arguments from vi operator pending modeOliver Kiddle2-1/+4
2015-05-1335093: new zle widgets for Vim-style text objectsOliver Kiddle5-0/+217
2015-05-1335114: zformat -a multibyte char widthsPeter Stephenson2-0/+38
2015-05-1335107: new ip options to completeChristian Hesse2-0/+7
2015-05-13users/20203: nested functions in always blocks when exit pendingPeter Stephenson4-1/+42
2015-05-12unposted: include doc tweek to expn.yo from 35071Jun T2-8/+8
expn.yo is now essentially the same as commit 6269db8
2015-05-1235086: reapply a hunk from 35067 for expn.yoJun T2-0/+24
the hunk has been mistakenly reverted by 35075
2015-05-1235060 + 35072: completion: git: split __git_heads into local and remoteDaniel Hahler3-2/+29
It is useful to have this distinction visually. This also uses `--format=%(refname:short)` directly with `git for-each-ref`.
2015-05-1235075: improve manual formatJun-ichi Takimoto25-375/+420
also fixed a ChangeLog entry for 35034 (2015-05-06)
2015-05-1135049: allow jail completion to include jid 0 for the host and toOliver Kiddle4-14/+39
complete jails by any parameter
2015-05-1135078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson3-2/+7
2015-05-1035067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson7-6/+72
Doc tweak from Daniel in 35071. Includes test.
2015-05-10Don't treat NUL as a combining characterMikael Magnusson2-2/+6
2015-05-0935066: Minor completion fix for pasted argumentsDaniel Shahaf3-2/+8
2015-05-0935064: rename ISPRINT to ZISPRINT to avoid conflictJun-ichi Takimoto4-5/+10
2015-05-0835059: fix, document, test readonly -p.Peter Stephenson4-70/+138
Don't output specials as can't be reconstructed. Output arrays in a useful order.
2015-05-0835056: turn off PROMPT_SP for interactive testPeter Stephenson2-5/+12
2015-05-0835057: make URL clickable (again)Jun-ichi Takimoto2-1/+6
This should have been included in 34850.
2015-05-0735054: readonly -p + POSIXBUILTINS fix.Peter Stephenson3-4/+20
Now displays unset variables marekd readonly