summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
2013-04-2531288: _git: fix shortlog completerRamkumar Ramachandra1-1/+26
Currently, __git-shortlog () says that 'git shortlog' can only accept commits as arguments (probably because the official documentation says this). This is entirely untrue: shortlog can accept commit-range-or-file, just like log can. Fix the completer by copying out segments from the __git-log () function. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-2131289: _git: branch.*.pushremote, remote.pushdefaultRamkumar Ramachandra1-0/+2
The configuration variables branch.*.pushremote and remote.pushdefault are relatively new, and are currently not completed by ZSH. Fix this. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-2131286: _git: add a couple of browsersRamkumar Ramachandra1-0/+2
Add google-chrome/chromium to the list of builtinbrowsers in __git_browsers (). Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-2031159: git: Pass prefix filter to ls-files even if it matches no filesTorstein Hegge1-1/+1
When a branch or tag name is completed with zsh in a large git repo, the completion is slow if the given prefix doesn't match a file or directory in the current working directory. Testing with linux.git, which contains release tags like v3.9 and a directory virt/: git log v<tab> takes about 0.5 seconds, while git log v3<tab> takes about 25 seconds. (Timed using zsh 4.3.17, on a fairly slow cpu. zsh from git appears to be quite a bit faster, but the difference between completing v and v3 is still large.) The difference between the two is that v<tab> passes the result of v* to git ls-files while v3<tab> determines that v3* matches no files, and passes an empty prefix to git ls-files. So git ls-files lists all files in the repo and passes that on to _multi_parts. Making git do the expansion of the * after the prefix lets git ls-files v3* return an empty list, making _multi_parts job easier. This does not affect the behavior of git log <tab>, but improves the performance of partial tag and branch tab-completion in the common case where file names and tag/branch names don't overlap.
2013-04-0531221: Handle zero defined aliases betterFrank Terbeck1-1/+7
2012-11-07Benjamin R. Haskell: 30737: make custom completions for git aliases easierOliver Kiddle1-1/+1
2012-11-07users/17382: complete URLs for vim and make _remote_files moreOliver Kiddle1-1/+1
consistent with _files
2012-03-06unposted: fix a typo in _git from previous commit (reolved)Mikael Magnusson1-1/+1
2012-03-0630317: complete git merge --ff-onlyClint Adams1-0/+1
2012-02-1030199: add (-.) to many completion _files globsOliver Kiddle1-2/+2
2011-12-1329998: _git: fix a typo (--rerbose).Mikael Magnusson1-1/+1
2011-12-0929918: Completion: Add new _remote_files() helper and use it to reduce code ↵Simon Ruderich1-34/+1
duplication.
2011-11-2429916: Completion/Unix/Command/_git: Prevent clash with _remote_files() in _ssh.Simon Ruderich1-2/+2
2011-08-1729698: Completion/Unix/Command/_git: Complete diff options for git logNikolai Weibull1-1/+4
2011-07-22* 29582, 29589: Update handling of third-party Git commandsNikolai Weibull1-65/+82
2011-07-22unposted: Completion/Unix/Command/_git: Use _files, not _path_files.Nikolai Weibull1-1/+1
2011-07-21unposted: Completion/Unix/Command/_git: Adjust some TODO items.Nikolai Weibull1-4/+3
2011-07-21unposted: Completion/Unix/Command/_git: Update git-add completion to notNikolai Weibull1-7/+10
complete already given file arguments and also to not list file completions if an option is being completed.
2011-07-21unposted: Completion/Unix/Command/_git: Fix bug in git-add completion thatNikolai Weibull1-1/+1
prevented -f option from being used correctly.
2011-07-21unposted: Completion/Unix/Command/_git: Move _gitk and _tig to correctNikolai Weibull1-10/+10
location.
2011-07-2129272: Completion/Unix/Command/_git: Use return values correctly accross allNikolai Weibull1-160/+235
completion functions.
2011-07-0129521: _git: Add `user-commands' support again.Frank Terbeck1-0/+3
2011-07-0129519: _git: Pick up addon completions from $fpath.Frank Terbeck1-0/+44
2011-07-0129527: _git: Make file-completion fallback optional.Frank Terbeck1-1/+13
2011-07-0129518: _git: Fall back to file completion for unknown sub-commands.Frank Terbeck1-1/+6
2011-05-29unposted: Completion/Unix/Command/_git: Update git-branch completion to dealNikolai Weibull1-7/+13
with -r and -d correctly.
2011-05-2229328: Another missing backslash in _git, remove some not needed backslashes ↵Mikael Magnusson1-1/+1
in array definitions.
2011-05-1929307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson1-1/+1
2011-05-1829315: add a missing backslash.Wayne Davison1-1/+1
2011-05-17Nikolai Weibull: 29166: _git: Speed improvements for file completion.Frank Terbeck1-36/+25
2011-05-1729273: Completion/Unix/Command/_git: Fix __git_guard_numberNikolai Weibull1-0/+4
2011-05-12Nikolai Weibull: 29124: Fix -l option in _git.Mikael Magnusson1-3/+3
2011-05-0829187: add a missing backslash.Wayne Davison1-1/+1
2011-04-25Simon Ruderich: 29041: _git: Add completion for `tig'.Frank Terbeck1-1/+6
2011-04-25Felipe Contreras: 29028: _git: Add useful completion for `gitk'.Frank Terbeck1-3/+7
2011-04-21Valentin Haenel: 29019: Fix git stash completion (apply and pop subcommands).Frank Terbeck1-1/+2
2011-04-15Simon Ruderich: 28927: Fix "git tag -v" completion.Frank Terbeck1-1/+3
2011-03-18Nikolai Weibull: 28913: Fix typo which broke `send-email' completion.Frank Terbeck1-1/+1
2011-03-18Nikolai Weibull: 28911: Only show modified files for git-checkout without tree.Frank Terbeck1-2/+2
2011-03-18Nikolai Weibull: 28914: Typo fix in `cvsexportcommit' descriptionFrank Terbeck1-1/+1
2011-02-27Nikolai Weibull's latest version.Wayne Davison1-3675/+5172
2010-12-04Add completion for help subcommand to _git.Wayne Davison1-0/+14
2010-11-1428411: complete submodule and annex as subcommands; complete files when the ↵Clint Adams1-2/+8
subcommand is unknown.
2010-07-2428000: make the branch arg for "git log" optional.Wayne Davison1-1/+1
2010-06-17Holger Weiss: Completion/Unix/Command/_git: various fixes and enhancements.Frank Terbeck1-24/+47
2010-06-06unposted: fix incorrectly capitalized completion descriptionsDoug Kearns1-2/+2
2010-06-03Holger Weiss: 27977: _git shouldn't return 0 if there are no matches.Frank Terbeck1-0/+2
2010-05-02* 27813: Simon Ruderich: Completion/Unix/Command/_git: Complete some generic ↵Frank Terbeck1-1/+1
symbolic references as heads.
2010-04-1427798: Alexey I. Froloff: Completion/Unix/Command/_git: support for the ↵Frank Terbeck1-1/+2
`--interactive' option of "git commit".
2010-03-04_git: support for user-specific sub commandsbewater1-1/+24