Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 43073: various completion option updates | Oliver Kiddle | 2018-06-21 | 1 | -15/+34 |
| | |||||
* | 43006: complete modified files after `git stash --` | Tim Smith | 2018-06-18 | 1 | -0/+3 |
| | |||||
* | users/23484: be consistent on matcher specs for git branches to fix issue ↵ | Oliver Kiddle | 2018-06-18 | 1 | -6/+6 |
| | | | | with partial matching | ||||
* | 42752: enhance git external alias completion | Peter Stephenson | 2018-05-08 | 1 | -1/+4 |
| | | | | | If alias expands to !cmd-name, complete as a normal command line after cmd-name. | ||||
* | 42659: various completion option updates | Oliver Kiddle | 2018-04-16 | 1 | -11/+48 |
| | |||||
* | 42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use ↵ | Oliver Kiddle | 2018-03-24 | 1 | -4/+0 |
| | | | | for mosh and git | ||||
* | 42364: _git: fix __git_ignore_line to ignore the current word | Daniel Hahler | 2018-02-22 | 1 | -6/+1 |
| | | | | | | | | | Before this patch "git branch -d master<tab>" would result in "no matches found", while "master" itself should get completed here. The "(bQ)" (added in 527badc23, via 38129?!) does not seem to be necessary anymore: with files "f\[a-z\]o" and "foo", "git add f[a-z]o <tab>" offers "f\[a-z\]o", but not "foo". | ||||
* | 42324: _git: handle mutually exclusive options | Daniel Hahler | 2018-02-12 | 1 | -16/+17 |
| | | | | | | | | | | | Currently `git show --stat -p` is not considered a valid completion and prevents further completions like `--no-abbrev`. It is a valid use case however to use `--stat` with `-p` (and there is a synonym `--patch-with-stat` for it even). This patch changes `__git_setup_diff_options` to only handle mutually exclusive arguments reported by Git (as a fatal error) in a special way. | ||||
* | 42333: git 2.16.0 no longer accepts an empty string as a pathspec element so ↵ | Christian Hesse | 2018-02-08 | 1 | -1/+1 |
| | | | | replace empty strings with a dot | ||||
* | 42323: _git: move "local" statement out of loop | Daniel Hahler | 2018-01-24 | 1 | -2/+2 |
| | | | | Fixup for 99cf61fd4. | ||||
* | 42317: completion option updates for commands that have had recent updates | Oliver Kiddle | 2018-01-23 | 1 | -24/+64 |
| | |||||
* | 42171: prevent parameters of various parameters from becoming global | Eric Cook | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | 42138: _git-revert: Complete recent commits first. | Daniel Shahaf | 2017-12-20 | 1 | -1/+1 |
| | |||||
* | 42019: update options in git completion to 2.15 | Oliver Kiddle | 2017-11-13 | 1 | -64/+164 |
| | | | | also improve format completion for git tag and for-each-ref | ||||
* | 41957: update git completion for git 2.14.3 | Oliver Kiddle | 2017-10-29 | 1 | -4/+6 |
| | |||||
* | 41808: _git-cherry-pick: Typo fixes | Noah Pendleton | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | 41552: complete only branches after git worktree add --detach | Oliver Kiddle | 2017-08-16 | 1 | -2/+2 |
| | | | | the --detach is superfluous for other commits | ||||
* | 41493: fix to not print hash into terminal and update options for git 2.14 | Oliver Kiddle | 2017-08-06 | 1 | -2/+7 |
| | |||||
* | 41475: _git: Complete files after 'reset' when there are no commits, when ↵ | Daniel Shahaf | 2017-08-02 | 1 | -0/+6 |
| | | | | the 'verbose' style is set. | ||||
* | unposted: _git: Fix style lookup for 'max-verbose'. | Daniel Shahaf | 2017-07-31 | 1 | -1/+1 |
| | |||||
* | 41414: fix for commas used in exclusion lists | Fabian Klötzl | 2017-07-14 | 1 | -1/+8 |
| | | | | also missing escape for _gcc and --no-index option for git diff | ||||
* | 41419: update for git 2.13.2 | Oliver Kiddle | 2017-07-14 | 1 | -11/+30 |
| | |||||
* | 41339: Unquote treeish argument for git checkout completion | Peter Stephenson | 2017-06-22 | 1 | -2/+2 |
| | |||||
* | 40943: __git_recent_commits: prefer recent commit objects | Daniel Hahler | 2017-04-23 | 1 | -2/+2 |
| | | | | | | Without this "commit to be amended" shows up before "recent commit object name" with `git commit --fixup`, but the recent commit objects are the most useful here. | ||||
* | 40818: _git-checkout: When completing local heads, prefer ↵ | Daniel Shahaf | 2017-03-14 | 1 | -1/+5 |
| | | | | recently-checked-out ones. (after 38592) | ||||
* | 40817: __git_recent_branches: Retrieve less data, but faster. | Daniel Shahaf | 2017-03-14 | 1 | -1/+2 |
| | | | | | | | | | | | By replacing the --grep-reflog=needle argument with a ${(M)...:#needle} filter, we retrieve less data from the reflog, and consequently run (on my test cases) 16% to 40% faster. The trade-off is that we retrieve less data: instead of retrieving the 1000 most recent 'checkout' operations, we retrieve the most recent 1000 operations, which would include fewer than 1000 checkout operations. Also change [[:xdigit:]] to [0-9a-f] since it's faster, however, the absolute gain from this is minor compared to the cost of 'git reflog'. | ||||
* | 40808: fix typos where (x,y) should have been (x y) in _arguments syntax | Fabian Klotzl | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | 40715: update completion of git options for git 2.12.0 | Oliver Kiddle | 2017-03-04 | 1 | -8/+24 |
| | |||||
* | 40494: _git: Use slashes matchspec for references (as already used for ↵ | Daniel Shahaf | 2017-02-07 | 1 | -2/+3 |
| | | | | branch names). | ||||
* | 40493/0002: _git-checkout: Reorder default completions. | Daniel Shahaf | 2017-02-07 | 1 | -2/+3 |
| | | | | | | | | | | The unprefixed name of a remote branch is used to create a new local remote-tracking branch; that is presumed to be a rarer operation than either switching among local branches or reverting to the index version of a modified file. Between the remaining two, put modified files before tree-ishes because there are generally few of the former and many of the latter. | ||||
* | 40493/0001: _git-checkout: No functional change. | Daniel Shahaf | 2017-02-07 | 1 | -13/+9 |
| | | | | This makes the next diff smaller. | ||||
* | 40055: update git completion for git 2.11.0 | Oliver Kiddle | 2016-12-01 | 1 | -13/+29 |
| | |||||
* | 40035: Cosmetic fixes for comments and documentation. | Eitan Adler | 2016-11-29 | 1 | -1/+1 |
| | | | | Mostly fixes to doubled words. | ||||
* | unposted: _git-config: Fix user.email completion to complete only bare email ↵ | Daniel Shahaf | 2016-11-29 | 1 | -1/+1 |
| | | | | addresses. | ||||
* | 39916 + 39930 + tweak: _git: Complete options and values for -c. | Daniel Shahaf | 2016-11-18 | 1 | -3/+47 |
| | | | | | | | | | The "$@" in the option-names call is added in order to propagate the new (-S =) arguments. This bifurcates _git-config() in order to provide completion for % git -c <TAB> % git -c foo=<TAB> | ||||
* | 39921: __git_recent_branches: Remove erroneous parsing of partial ref names ↵ | Daniel Shahaf | 2016-11-17 | 1 | -3/+3 |
| | | | | | | | | | | | | as tags. In the reflog, partial ref names in the "from" field always represent names of heads. (That is not true for the "to" field.) The parsing of tag names was added in commit 39102 (317c96b64f43688a6be08a8b1c93b6ab4eed662c) for equivalence with the then-previous implementation which used `git log $partial_ref_name`. The equivalence was correct, however, the then-previous implementation was not, since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/ name did not exist. | ||||
* | 39922: __git_recent_branches: Fix an 'assertion' failure when two branches ↵ | Daniel Shahaf | 2016-11-17 | 1 | -11/+8 |
| | | | | (refs) point to the same commit. | ||||
* | 39822: _git: remove "-A '-*'" with _arguments for some commands | Daniel Hahler | 2016-11-03 | 1 | -5/+5 |
| | | | | | | | | | With e.g. `git rebase origin/master` you can have options like `--no-autosquash` after the argument. I have tried the commands where this patch removes `-A`. Commands like `git fetch-pack` that do not support options after arguments are left unchanged. | ||||
* | _git-cherry-pick: Complete argv[2] et seq. | Daniel Shahaf | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset ↵ | Daniel Shahaf | 2016-10-07 | 1 | -1/+1 |
| | | | | | | | | -P' calls to use shortest match where applicable, plus random drive-by tweaks. Found by grepping for patterns that can match needles of various lengths: :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/ | ||||
* | 39514: pass on --git-dir when calling git to get completion matches | Oliver Kiddle | 2016-09-30 | 1 | -1/+1 |
| | |||||
* | unposted: _git: Permit multiple -c options. | Daniel Shahaf | 2016-09-14 | 1 | -1/+1 |
| | |||||
* | 39165: update options to correspond to latest versions of software in ↵ | Oliver Kiddle | 2016-09-03 | 1 | -6/+21 |
| | | | | various functions | ||||
* | 39122: __git_recent_branches: Silence warning on an edge case. | Daniel Shahaf | 2016-08-31 | 1 | -2/+9 |
| | | | | (The warning was correct; there is no functional change, though.) | ||||
* | 39102: __git_recent_branches: Optimise. | Daniel Shahaf | 2016-08-25 | 1 | -19/+23 |
| | | | | This improves performance from 0.6s to 0.04s (+93%) on one of Daniel Hahler's repositories. | ||||
* | 39094: _git-config: When an option is unknown, complete its value to the set ↵ | Daniel Shahaf | 2016-08-24 | 1 | -2/+6 |
| | | | | value. | ||||
* | unposted (c.f. Mikael: 39078): fix for git blame terms | Oliver Kiddle | 2016-08-22 | 1 | -3/+3 |
| | |||||
* | unposted: _git-config: sendemail.smtpserver: Correct tags. | Daniel Shahaf | 2016-08-22 | 1 | -1/+1 |
| | |||||
* | 39072: minor tweaks | Oliver Kiddle | 2016-08-19 | 1 | -8/+4 |
| | |||||
* | 39040: Completion/…/_git: fix missing backslashes in 39036 | Daniel Hahler | 2016-08-15 | 1 | -2/+2 |
| |