summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
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
2016-06-25unposted: _git-config: Fix syntax error in 'tag.sort' completion.Daniel Shahaf1-1/+1
2016-06-1338651: _git: Escape parameter arguments to _call_program.Daniel Shahaf1-7/+7
Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases.
2016-06-1338665: _git: config option completion: Quote properly.Daniel Shahaf1-2/+2
2016-06-0738624: _git: Optimize the last commit's __git_recent_branches__names as ↵Daniel Shahaf1-24/+9
suggested by Matthew.
2016-06-0738592 (plus tweak): _git: New recent branches completion, unused. (Joint ↵Daniel Shahaf1-0/+60
with Nils Luxton)
2016-06-0338576: _git: Also detect _git-${thirdparty} functions in $fpath that are ↵Daniel Shahaf1-1/+1
symlinks.
2016-05-0338393: _git: Fix typo in completion of '--minimal'Russell Currey1-1/+1
Signed-off-by: Russell Currey <ruscur@russell.cc>
2016-05-01_git: Complete fetchy refspecs correctly.Daniel Shahaf1-2/+13
2016-05-01_git: Bifurcate __git_ref_specs.Daniel Shahaf1-10/+24
No functional change, except for completion of 'git bundle' and 'git config branch.*.merge'; this is a required groundwork for future patches.
2016-05-01_git: Fix an apparent typo in __git_heads().Daniel Shahaf1-2/+2
I couldn't reproduce different behaviour with and without this patch, although the called command's output differs.
2016-05-01_git: Offer alternatives properly.Daniel Shahaf1-2/+1
2016-05-01_git-bundle: Complete required file argument to 'git bundle' correctly.Daniel Shahaf1-0/+1
2016-04-2338316: _git-rebase: Complete any committish for the second argumentDaniel Shahaf1-1/+1
2016-04-0938255: _git: Fix argument pastedness.Daniel Shahaf1-43/+43
Found by searching for /-\w\>.*:/. This covers short options only, from the top of file through _git-tag().
2016-03-2138182: _git: Invoke reflog completion from the 'complete commit objects' ↵Daniel Shahaf1-3/+10
codepath. The reflog will only be used if the user has typed as "@" by hand.
2016-03-2138181: _git reflog: Complete '@{N}' instead of 'HEAD@{N}'.Daniel Shahaf1-0/+1
The «HEAD@{...}» syntax is no longer completed, since it's not easily possible to support both syntaxes (workers/34768).
2016-03-2138180: _git: Improve reflog completion.Daniel Shahaf1-2/+2
Currently, only used by «git reflog delete <TAB>».
2016-03-1538151: _git: fix tag name of remote branchesm0viefreak1-1/+1
2016-03-1538148: _git: reflog: complete references next to commandsm0viefreak1-1/+3
'git reflog show' is the default subcommand, so git reflog <tab> should complete subcommands and references.
2016-03-1138129: _git: Fix __git_ignore_line's treatment of shell and pattern ↵Daniel Shahaf1-3/+3
metacaracters. Builds upon a patch by Jun T. Also upgrade/fix __git_pattern_escape.
2016-03-1038128: _git: Fix completion of diffs against the index when treeish isn't ↵Daniel Shahaf1-1/+2
shell-safe This affects 'git diff --cached -- <TAB>' and 'git reset $treeish <TAB>'.
2016-03-1038123 (after 38074): _git reset $treeish: complete only staged filesDaniel Shahaf1-36/+20
2016-03-0938120: _git: Document the internal helper function __git_ignore_line.Daniel Shahaf1-0/+10
2016-03-0838074: _git reset HEAD: complete only staged filesJun-ichi Takimoto1-1/+28
2016-02-0937924: Completion: _git: Complete files for 'check-ignore'Daniel Shahaf1-1/+1
Also, don't leak the parameter 'ret'; the leak was theoretical because the caller immediately wrote to that parameter.