Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-01-23 | 37703: Completion: git: Also complete sendmail commands for send-email's ↵ | Daniel Shahaf | 1 | -2/+2 | |
configuration. (after 37666) | |||||
2016-01-20 | 37666: Completion: git: 'send-email --smtp-server=' takes absolute path to ↵ | Daniel Shahaf | 1 | -1/+6 | |
sendmail. | |||||
2016-01-20 | 37665: Completion: New helper _absolute_command_paths. | Daniel Shahaf | 1 | -4/+4 | |
2015-12-05 | 37150: _git: Autocomplete .. for commit ranges | Daniel Shahaf | 1 | -3/+3 | |
This patch makes three changes: - Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the ".." being autoremovable. This is implemented by the first hunk. That hunk is a functional subset of Oliver's users/20705, however, the latter hasn't been committed. - Make typing "^" remove the "..", in light of the syntax "foo^..bar". - Make typing "." _not_ remove the ".." but simply append it, since "foo...bar" is a valid and useful syntax. | |||||
2015-12-05 | 36957: _git: Apply matchspecs to filename completion such as 'git log ↵ | Daniel Shahaf | 1 | -1/+1 | |
f/b<TAB>' → 'foo/bar.txt's This patch makes 'git log S/e<TAB>' expand to Src/exec.c. The incumbent code would run 'git ls-tree S/' and find no matches. | |||||
2015-11-20 | 37149: _git: Complete 'bisect/bad' ref | Daniel Shahaf | 1 | -0/+1 | |
2015-11-17 | 37129: _git: Complete 'commit -p' | Daniel Shahaf | 1 | -1/+1 | |
2015-11-14 | 37115: update for changes in ${(P)...} evaluation. | Barton E. Schaefer | 1 | -1/+1 | |
2015-11-13 | 37031: _git-merge: Exclude ancestors of HEAD from recent commit completion | Daniel Shahaf | 1 | -1/+2 | |
As done for _git-cherry-pick in a428c6b62cb2 (36328 + 36340). | |||||
2015-11-04 | 37062: tentative mechanism for git commit descriptions. | Peter Stephenson | 1 | -9/+33 | |
Mechanism for forcing completion system into verbose mode is subject to change. | |||||
2015-10-31 | 37032: Temporarily revert 36959. | Daniel Shahaf | 1 | -1/+4 | |
2015-10-25 | 36962: _git: Fix completion of RHS of refspecs. | Daniel Shahaf | 1 | -1/+2 | |
Before this patch, 'git push $remote :<TAB>' completed branch names (as though by `git branch -a`), instead of completing remote branch names sans the ${remote}/ prefix. | |||||
2015-10-25 | 36964: _git: Complete remotes branch names with slashes correctly. | Daniel Shahaf | 1 | -1/+1 | |
For example, 'git push remote HEAD:foo/bar' creates such branches. | |||||
2015-10-25 | 36960: _git: Enable slash matcher for more branch and tag completions, ↵ | Daniel Shahaf | 1 | -3/+3 | |
include 'git branch <TAB>' and 'git tag <TAB>'. | |||||
2015-10-25 | 36959: _git: Offer @~$n as completion of recent commits. | Daniel Shahaf | 1 | -1/+2 | |
Suggested-by: Oliver Kiddle (users/20705) | |||||
2015-10-25 | 36958: _git: Fix recent commit completion descriptions. | Daniel Shahaf | 1 | -12/+29 | |
The uniquifiers 'HEAD~$n' were incorrect when a recent commit was the second parent of a merge commit. Detect that case and print something correct instead. | |||||
2015-10-25 | unposted: _git: Fix 'commit object name' completion messages. | Daniel Shahaf | 1 | -2/+2 | |
Offer the "this alternative is still valid, but I don't know to offer completions for it" for hash completion but not for recent object completion; the former is protected by a _guard and the latter incorrectly appeared also in cases such as 'git log a/b<TAB>' which were not the start of a gitrevisions(7) expression. | |||||
2015-10-20 | 36900: _git: stash names completion: Display log messages | Daniel Shahaf | 1 | -2/+11 | |
The "$@" argument to compadd is removed because (I think) it contains a -J, which conflicts with the -V. Joint with Daniel Hahler. | |||||
2015-10-01 | 36722: allow git range to complete after ^. | Peter Stephenson | 1 | -1/+8 | |
Take account of backslash quoting. | |||||
2015-09-07 | 36441: _git: Fixed typo in --author-date-order description | James Clarke | 1 | -1/+1 | |
2015-09-01 | 36353: _git: Unbreak after previous. | Daniel Shahaf | 1 | -1/+1 | |
2015-08-30 | 36328 + 36340: _git-cherry-pick: Complete other branches only | Mateusz Karbowy | 1 | -14/+52 | |
2015-08-27 | 36304: _git-cat-file: Fix regression in 36237 | Daniel Shahaf | 1 | -0/+1 | |
This broke 'git cat-file blob origin:Etc/<TAB>'. | |||||
2015-08-24 | 36277: _git: Updated for git-clone 2.4.5. | Daniel Shahaf | 1 | -2/+5 | |
2015-08-19 | 36247: __git_objects: Complete HEAD:./foo correctly in worktree subdir | Daniel Shahaf | 1 | -1/+5 | |
2015-08-19 | 36237: __git_objects: Complete HEAD:foo correctly in worktree subdir | Daniel Shahaf | 1 | -2/+13 | |
2015-08-19 | 36236: _git-log: Complete multiple revspecs | Daniel Shahaf | 1 | -0/+5 | |
e.g., git log origin/master origin/foo origin/bar | |||||
2015-08-19 | 36236: _git-log: complete 'git rm'd files | Daniel Shahaf | 1 | -3/+3 | |
2015-08-19 | 36148: _git-log: Complete flags after positional argument | Oliver Kiddle | 1 | -25/+23 | |
2015-08-13 | Wieland Hoffmann: 36123: protect against word splitting in ↵ | Wieland Hoffmann | 1 | -2/+2 | |
__git_is_committish_range | |||||
2015-08-12 | 36127: assorted minor completion function changes | Oliver Kiddle | 1 | -2/+3 | |
2015-08-12 | 36116: _git: various fixes | Mikael Magnusson | 1 | -5/+5 | |
Add = to git checkout --conflict= completion fix transposed [- git push remote argument is not optional can use shorter syntax for a check | |||||
2015-08-02 | 35970: completion: fix typos in _git and _brace_parameter | Daniel Hahler | 1 | -2/+2 | |
2015-07-13 | 35779: completion: _git-config: remove extraneous "local expl" | Daniel Hahler | 1 | -1/+0 | |
It is defined at the beginning of the function already, and results in the output of `expl=''` when completing after `git config branch.local.pushremote ` etc. | |||||
2015-06-18 | 35510: use consistent formatting for git subcommands | Oliver Kiddle | 1 | -83/+33 | |
2015-06-18 | 35504: complete % placeholders for git log --format | Oliver Kiddle | 1 | -10/+90 | |
2015-06-08 | 35216: _git-checkout: do not call __git_commits twice | Daniel Hahler | 1 | -3/+1 | |
This makes `branch_arg` empty by default, to be used only for __git_remote_branch_names. `branches::__git_revisions` was used here, but that's the same as tree_ish_arg='tree-ishs::__git_tree_ishs' - both call __git_commits. Only tree_ish_arg will call __git-commits now. | |||||
2015-05-29 | 35098: completion: git: provide --amend also with "message" group | Daniel Hahler | 1 | -2/+2 | |
Especially during a git rebase, you would use `git commit -m foo --amend`. | |||||
2015-05-28 | 35315: replace inappropriate uses of _path_commands | Oliver Kiddle | 1 | -45/+42 | |
2015-05-22 | 35261: completion: git: __git_recent_commits: local ret | Daniel Hahler | 1 | -1/+1 | |
Without this, `ret` will be set to 1 with `git diff --ex<tab>` and result in duplicate entries: % git diff --ex<tab> -- option -- --exit-code -- report exit code 1 if differences, 0 otherwise --exit-code -- report exit code 1 if differences, 0 otherwise --ext-diff -- allow external diff helper to be executed --ext-diff -- allow external diff helper to be executed --no-ext-diff -- disallow external diff helper to be executed -- recent commit object name -- | |||||
2015-05-19 | 35224: completion: git: Add fast-export --signed-tags=warn-strip | Daniel Shahaf | 1 | -1/+2 | |
2015-05-19 | 35217: add missing changelog entry; use "-O expl" with _alternative | Daniel Hahler | 1 | -1/+1 | |
2015-05-19 | 35217: completion: git: send-email: complete (recent) commits | Daniel Hahler | 1 | -1/+3 | |
This adds `__git_commit_objects_prefer_recent` as alternative for git-send-email's completion. | |||||
2015-05-19 | __git_commit_objects: do not use _guard, but only a pattern | Daniel Hahler | 1 | -1/+1 | |
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-19 | Completion/Unix/Command/_git: remove -2 with __git_recent_commits | Daniel Hahler | 1 | -1/+1 | |
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-19 | 35204: fix broken __git_recent_commits from previous commit | Daniel Hahler | 1 | -1/+1 | |
This fixes 1e7bb4a: newlines need to be kept (from the "%d" part). | |||||
2015-05-19 | 35164: fix __git_commit_objects/__git_recent_commits | Daniel Hahler | 1 | -2/+2 | |
$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-19 | users/20222: completion: git: Add matchspec for heads | Daniel Shahaf | 1 | -4/+4 | |
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-18 | 35105: completion: git: add distance_from_head to __git_recent_commits | Daniel Shahaf | 1 | -1/+14 | |
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-18 | 35106: completion: git: unique name for __git_recent_commits | Daniel Hahler | 1 | -1/+1 | |
This helps to distinguish it from __git_commit_objects. |