summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
2017-10-2941957: update git completion for git 2.14.3Oliver Kiddle1-4/+6
2017-10-0441808: _git-cherry-pick: Typo fixesNoah Pendleton1-2/+2
2017-08-1641552: complete only branches after git worktree add --detachOliver Kiddle1-2/+2
the --detach is superfluous for other commits
2017-08-0641493: fix to not print hash into terminal and update options for git 2.14Oliver Kiddle1-2/+7
2017-08-0241475: _git: Complete files after 'reset' when there are no commits, when ↵Daniel Shahaf1-0/+6
the 'verbose' style is set.
2017-07-31unposted: _git: Fix style lookup for 'max-verbose'.Daniel Shahaf1-1/+1
2017-07-1441414: fix for commas used in exclusion listsFabian Klötzl1-1/+8
also missing escape for _gcc and --no-index option for git diff
2017-07-1441419: update for git 2.13.2Oliver Kiddle1-11/+30
2017-06-2241339: Unquote treeish argument for git checkout completionPeter Stephenson1-2/+2
2017-04-2340943: __git_recent_commits: prefer recent commit objectsDaniel Hahler1-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.
2017-03-1440818: _git-checkout: When completing local heads, prefer ↵Daniel Shahaf1-1/+5
recently-checked-out ones. (after 38592)
2017-03-1440817: __git_recent_branches: Retrieve less data, but faster.Daniel Shahaf1-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'.
2017-03-0940808: fix typos where (x,y) should have been (x y) in _arguments syntaxFabian Klotzl1-1/+1
2017-03-0440715: update completion of git options for git 2.12.0Oliver Kiddle1-8/+24
2017-02-0740494: _git: Use slashes matchspec for references (as already used for ↵Daniel Shahaf1-2/+3
branch names).
2017-02-0740493/0002: _git-checkout: Reorder default completions.Daniel Shahaf1-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.
2017-02-0740493/0001: _git-checkout: No functional change.Daniel Shahaf1-13/+9
This makes the next diff smaller.
2016-12-0140055: update git completion for git 2.11.0Oliver Kiddle1-13/+29
2016-11-2940035: Cosmetic fixes for comments and documentation.Eitan Adler1-1/+1
Mostly fixes to doubled words.
2016-11-29unposted: _git-config: Fix user.email completion to complete only bare email ↵Daniel Shahaf1-1/+1
addresses.
2016-11-1839916 + 39930 + tweak: _git: Complete options and values for -c.Daniel Shahaf1-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>
2016-11-1739921: __git_recent_branches: Remove erroneous parsing of partial ref names ↵Daniel Shahaf1-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.
2016-11-1739922: __git_recent_branches: Fix an 'assertion' failure when two branches ↵Daniel Shahaf1-11/+8
(refs) point to the same commit.
2016-11-0339822: _git: remove "-A '-*'" with _arguments for some commandsDaniel Hahler1-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.
2016-10-29_git-cherry-pick: Complete argv[2] et seq.Daniel Shahaf1-1/+1
2016-10-0739479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset ↵Daniel Shahaf1-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/
2016-09-3039514: pass on --git-dir when calling git to get completion matchesOliver Kiddle1-1/+1
2016-09-14unposted: _git: Permit multiple -c options.Daniel Shahaf1-1/+1
2016-09-0339165: update options to correspond to latest versions of software in ↵Oliver Kiddle1-6/+21
various functions
2016-08-3139122: __git_recent_branches: Silence warning on an edge case.Daniel Shahaf1-2/+9
(The warning was correct; there is no functional change, though.)
2016-08-2539102: __git_recent_branches: Optimise.Daniel Shahaf1-19/+23
This improves performance from 0.6s to 0.04s (+93%) on one of Daniel Hahler's repositories.
2016-08-2439094: _git-config: When an option is unknown, complete its value to the set ↵Daniel Shahaf1-2/+6
value.
2016-08-22unposted (c.f. Mikael: 39078): fix for git blame termsOliver Kiddle1-3/+3
2016-08-22unposted: _git-config: sendemail.smtpserver: Correct tags.Daniel Shahaf1-1/+1
2016-08-1939072: minor tweaksOliver Kiddle1-8/+4
2016-08-1539040: Completion/…/_git: fix missing backslashes in 39036Daniel Hahler1-2/+2
2016-08-1339036: update git completion for new options up to git 2.9.2Oliver Kiddle1-453/+693
2016-08-0138964: _git-config: Complete option names present in the config file.Daniel Shahaf1-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.
2016-08-0138963: _git-config: Run gettable-options earlier and in all codepaths.Daniel Shahaf1-2/+6
No change to completions; this is preparation for the next commit.
2016-08-0138961: _git-config: No functional change: rename $git_options_static to ↵Daniel Shahaf1-12/+12
$git_options in preparation for the after-next commit.
2016-07-31unposted: _git: Clean up superfluous and missing backslashes.Daniel Shahaf1-3/+3
2016-07-3138962: _git-config: Document more line noise.Daniel Shahaf1-0/+5
2016-07-27unposted (after 38939): _git-rebase: Unbreak.Daniel Shahaf1-1/+1
2016-07-2538939: add missing git optionsOliver Kiddle1-24/+43
In particular those for GPG signing a push
2016-07-23unposted: _git-grep: Stop leaking the parameter $i.Daniel Shahaf1-1/+1
2016-07-17unposted (cf. users/21737):: _git-subtree: Record technical debt in comment.Daniel Shahaf1-0/+4
2016-07-17users/21750 (after users/21551): _git-subtree: Tweak -m,-P completionsDaniel Shahaf1-11/+11
2016-07-05users/21551 (tweaked per users/21560): new git subtree completionJordan Klassen1-0/+92
2016-06-2738760: _git-config: Stop trying to execute the empty string command name ↵Daniel Shahaf1-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
2016-06-25unposted: _git-config: Document some line noise.Daniel Shahaf1-0/+3