summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
Commit message (Collapse)AuthorAgeFilesLines
* 40055: update git completion for git 2.11.0Oliver Kiddle2016-12-011-13/+29
|
* 40035: Cosmetic fixes for comments and documentation.Eitan Adler2016-11-291-1/+1
| | | | Mostly fixes to doubled words.
* unposted: _git-config: Fix user.email completion to complete only bare email ↵Daniel Shahaf2016-11-291-1/+1
| | | | addresses.
* 39916 + 39930 + tweak: _git: Complete options and values for -c.Daniel Shahaf2016-11-181-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 Shahaf2016-11-171-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 Shahaf2016-11-171-11/+8
| | | | (refs) point to the same commit.
* 39822: _git: remove "-A '-*'" with _arguments for some commandsDaniel Hahler2016-11-031-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 Shahaf2016-10-291-1/+1
|
* 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset ↵Daniel Shahaf2016-10-071-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 matchesOliver Kiddle2016-09-301-1/+1
|
* unposted: _git: Permit multiple -c options.Daniel Shahaf2016-09-141-1/+1
|
* 39165: update options to correspond to latest versions of software in ↵Oliver Kiddle2016-09-031-6/+21
| | | | various functions
* 39122: __git_recent_branches: Silence warning on an edge case.Daniel Shahaf2016-08-311-2/+9
| | | | (The warning was correct; there is no functional change, though.)
* 39102: __git_recent_branches: Optimise.Daniel Shahaf2016-08-251-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 Shahaf2016-08-241-2/+6
| | | | value.
* unposted (c.f. Mikael: 39078): fix for git blame termsOliver Kiddle2016-08-221-3/+3
|
* unposted: _git-config: sendemail.smtpserver: Correct tags.Daniel Shahaf2016-08-221-1/+1
|
* 39072: minor tweaksOliver Kiddle2016-08-191-8/+4
|
* 39040: Completion/…/_git: fix missing backslashes in 39036Daniel Hahler2016-08-151-2/+2
|
* 39036: update git completion for new options up to git 2.9.2Oliver Kiddle2016-08-131-453/+693
|
* 38964: _git-config: Complete option names present in the config file.Daniel Shahaf2016-08-011-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 Shahaf2016-08-011-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 Shahaf2016-08-011-12/+12
| | | | $git_options in preparation for the after-next commit.
* unposted: _git: Clean up superfluous and missing backslashes.Daniel Shahaf2016-07-311-3/+3
|
* 38962: _git-config: Document more line noise.Daniel Shahaf2016-07-311-0/+5
|
* unposted (after 38939): _git-rebase: Unbreak.Daniel Shahaf2016-07-271-1/+1
|
* 38939: add missing git optionsOliver Kiddle2016-07-251-24/+43
| | | | In particular those for GPG signing a push
* unposted: _git-grep: Stop leaking the parameter $i.Daniel Shahaf2016-07-231-1/+1
|
* unposted (cf. users/21737):: _git-subtree: Record technical debt in comment.Daniel Shahaf2016-07-171-0/+4
|
* users/21750 (after users/21551): _git-subtree: Tweak -m,-P completionsDaniel Shahaf2016-07-171-11/+11
|
* users/21551 (tweaked per users/21560): new git subtree completionJordan Klassen2016-07-051-0/+92
|
* 38760: _git-config: Stop trying to execute the empty string command name ↵Daniel Shahaf2016-06-271-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 Shahaf2016-06-251-0/+3
|
* unposted: _git-config: Fix syntax error in 'tag.sort' completion.Daniel Shahaf2016-06-251-1/+1
|
* 38651: _git: Escape parameter arguments to _call_program.Daniel Shahaf2016-06-131-7/+7
| | | | Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases.
* 38665: _git: config option completion: Quote properly.Daniel Shahaf2016-06-131-2/+2
|
* 38624: _git: Optimize the last commit's __git_recent_branches__names as ↵Daniel Shahaf2016-06-071-24/+9
| | | | suggested by Matthew.
* 38592 (plus tweak): _git: New recent branches completion, unused. (Joint ↵Daniel Shahaf2016-06-071-0/+60
| | | | with Nils Luxton)
* 38576: _git: Also detect _git-${thirdparty} functions in $fpath that are ↵Daniel Shahaf2016-06-031-1/+1
| | | | symlinks.
* 38393: _git: Fix typo in completion of '--minimal'Russell Currey2016-05-031-1/+1
| | | | Signed-off-by: Russell Currey <ruscur@russell.cc>
* _git: Complete fetchy refspecs correctly.Daniel Shahaf2016-05-011-2/+13
|
* _git: Bifurcate __git_ref_specs.Daniel Shahaf2016-05-011-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 Shahaf2016-05-011-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 Shahaf2016-05-011-2/+1
|
* _git-bundle: Complete required file argument to 'git bundle' correctly.Daniel Shahaf2016-05-011-0/+1
|
* 38316: _git-rebase: Complete any committish for the second argumentDaniel Shahaf2016-04-231-1/+1
|
* 38255: _git: Fix argument pastedness.Daniel Shahaf2016-04-091-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 Shahaf2016-03-211-3/+10
| | | | | | codepath. The reflog will only be used if the user has typed as "@" by hand.
* 38181: _git reflog: Complete '@{N}' instead of 'HEAD@{N}'.Daniel Shahaf2016-03-211-0/+1
| | | | | The «HEAD@{...}» syntax is no longer completed, since it's not easily possible to support both syntaxes (workers/34768).
* 38180: _git: Improve reflog completion.Daniel Shahaf2016-03-211-2/+2
| | | | Currently, only used by «git reflog delete <TAB>».