Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 39036: update git completion for new options up to git 2.9.2 | Oliver Kiddle | 2016-08-13 | 1 | -453/+693 |
| | |||||
* | 38964: _git-config: Complete option names present in the config file. | Daniel Shahaf | 2016-08-01 | 1 | -0/+46 |
| | | | | | | | | | This patch lets . git config x.y.z value git config <TAB> . complete 'x.y.z', even if x.y.z isn't hardcoded into _git-config. | ||||
* | 38963: _git-config: Run gettable-options earlier and in all codepaths. | Daniel Shahaf | 2016-08-01 | 1 | -2/+6 |
| | | | | No change to completions; this is preparation for the next commit. | ||||
* | 38961: _git-config: No functional change: rename $git_options_static to ↵ | Daniel Shahaf | 2016-08-01 | 1 | -12/+12 |
| | | | | $git_options in preparation for the after-next commit. | ||||
* | unposted: _git: Clean up superfluous and missing backslashes. | Daniel Shahaf | 2016-07-31 | 1 | -3/+3 |
| | |||||
* | 38962: _git-config: Document more line noise. | Daniel Shahaf | 2016-07-31 | 1 | -0/+5 |
| | |||||
* | unposted (after 38939): _git-rebase: Unbreak. | Daniel Shahaf | 2016-07-27 | 1 | -1/+1 |
| | |||||
* | 38939: add missing git options | Oliver Kiddle | 2016-07-25 | 1 | -24/+43 |
| | | | | In particular those for GPG signing a push | ||||
* | unposted: _git-grep: Stop leaking the parameter $i. | Daniel Shahaf | 2016-07-23 | 1 | -1/+1 |
| | |||||
* | unposted (cf. users/21737):: _git-subtree: Record technical debt in comment. | Daniel Shahaf | 2016-07-17 | 1 | -0/+4 |
| | |||||
* | users/21750 (after users/21551): _git-subtree: Tweak -m,-P completions | Daniel Shahaf | 2016-07-17 | 1 | -11/+11 |
| | |||||
* | users/21551 (tweaked per users/21560): new git subtree completion | Jordan Klassen | 2016-07-05 | 1 | -0/+92 |
| | |||||
* | 38760: _git-config: Stop trying to execute the empty string command name ↵ | Daniel Shahaf | 2016-06-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | upon completing values for an unknown option. For example: % git config x.y.z <TAB> +_git-config:834> case x.y.z (alias.*) +_git-config:834> case x.y.z (remotes.*) +_git-config:860> local z=$'\C-@' +_git-config:861> declare -a parts +_git-config:862> parts=( '' ) +_git-config:863> (( 1 < 2 )) +_git-config:863> [[ x.y.z == [^.]##.*.[^.]## ]] +_git-config:864> parts=( '' ) +_git-config:866> (( 1 > 0 )) +_git-config:867> case (-\>*) +_git-config:867> case (*) +_git-config:1197> declare -a action +_git-config:1198> _description values expl '' +_git-config:1199> eval 'action=()' +(eval):1> action=( ) +_git-config:1200> '' -J values _git-config:1200: permission denied: +_git-config:1206> return ret | ||||
* | unposted: _git-config: Document some line noise. | Daniel Shahaf | 2016-06-25 | 1 | -0/+3 |
| | |||||
* | unposted: _git-config: Fix syntax error in 'tag.sort' completion. | Daniel Shahaf | 2016-06-25 | 1 | -1/+1 |
| | |||||
* | 38651: _git: Escape parameter arguments to _call_program. | Daniel Shahaf | 2016-06-13 | 1 | -7/+7 |
| | | | | Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases. | ||||
* | 38665: _git: config option completion: Quote properly. | Daniel Shahaf | 2016-06-13 | 1 | -2/+2 |
| | |||||
* | 38624: _git: Optimize the last commit's __git_recent_branches__names as ↵ | Daniel Shahaf | 2016-06-07 | 1 | -24/+9 |
| | | | | suggested by Matthew. | ||||
* | 38592 (plus tweak): _git: New recent branches completion, unused. (Joint ↵ | Daniel Shahaf | 2016-06-07 | 1 | -0/+60 |
| | | | | with Nils Luxton) | ||||
* | 38576: _git: Also detect _git-${thirdparty} functions in $fpath that are ↵ | Daniel Shahaf | 2016-06-03 | 1 | -1/+1 |
| | | | | symlinks. | ||||
* | 38393: _git: Fix typo in completion of '--minimal' | Russell Currey | 2016-05-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Russell Currey <ruscur@russell.cc> | ||||
* | _git: Complete fetchy refspecs correctly. | Daniel Shahaf | 2016-05-01 | 1 | -2/+13 |
| | |||||
* | _git: Bifurcate __git_ref_specs. | Daniel Shahaf | 2016-05-01 | 1 | -10/+24 |
| | | | | | No functional change, except for completion of 'git bundle' and 'git config branch.*.merge'; this is a required groundwork for future patches. | ||||
* | _git: Fix an apparent typo in __git_heads(). | Daniel Shahaf | 2016-05-01 | 1 | -2/+2 |
| | | | | | I couldn't reproduce different behaviour with and without this patch, although the called command's output differs. | ||||
* | _git: Offer alternatives properly. | Daniel Shahaf | 2016-05-01 | 1 | -2/+1 |
| | |||||
* | _git-bundle: Complete required file argument to 'git bundle' correctly. | Daniel Shahaf | 2016-05-01 | 1 | -0/+1 |
| | |||||
* | 38316: _git-rebase: Complete any committish for the second argument | Daniel Shahaf | 2016-04-23 | 1 | -1/+1 |
| | |||||
* | 38255: _git: Fix argument pastedness. | Daniel Shahaf | 2016-04-09 | 1 | -43/+43 |
| | | | | | | Found by searching for /-\w\>.*:/. This covers short options only, from the top of file through _git-tag(). | ||||
* | 38182: _git: Invoke reflog completion from the 'complete commit objects' ↵ | Daniel Shahaf | 2016-03-21 | 1 | -3/+10 |
| | | | | | | codepath. The reflog will only be used if the user has typed as "@" by hand. |