about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
Commit message (Collapse)AuthorAgeFilesLines
* un-transpose help text for git merge -{-no,}-verifyBarton E. Schaefer2014-08-241-2/+2
|
* m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixesm0viefreak2014-03-231-2/+2
| | | | | | | | Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix auto-removable suffix highlighting Completion/Unix/Command/_git: fix compadd for auto-removable suffix in _git_commit_ranges and _git_stash
* 32502: fix typo in argument list for git completioTakeshi Banse2014-03-211-1/+1
|
* users/18485: add .. as an auto-removable suffix in git revision rangesOliver Kiddle2014-02-251-3/+8
|
* 32398: _git: completion updates up to latest git v1.9.0m0viefreak2014-02-181-32/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cherry-pick: allow commit ranges to be specified - push: option is called --set-upstream and not --set-upstream-to - status: offer -b,--branch when --porcelain or -z are given --porcelain and -z don't show the branch info by default, so it is needed to offer --branch for those options, too. - checkout: add '--detach' option - checkout: offer '-l' option when '--orphan' was given - show-ref: update wording of --head and --heads according to man-page - config: update default value for color.ui color-bool was changed to accept a default value as $parts[5] - add support for 'cygstart' as a valid builtin browser on cygwin - rebase: add suuport for --autostash and config.autostash - update builtin browser list - grep: add --{no,}textconv - check-ignore: add --no-index - update-ref: add --stdin -z - add -C - pull: add support for --rebase=preserve - config: add support for http.*. options - blame: -L can be given multiple times - config: add support for http.savecookies - push: add support for --force-with-lease - diff: --diff-filter: allow lower-case variants (all-but ... specs) - config: add support for 'fetch.prune' and 'remote.*.prune' - check-ignore: -z: update message, check-attr: add -z - config: add diff.orderfile - revision options: add --exclude - revision options: add --ignore-missing - revision options: add --bisect - rev-parse: add --stuck-long - merge-base: add --fork-point - config: implement submodule.*.update completion - send-email: add --smtp-ssl-cert-path and config options
* 32397: _git: fix __git_submodules to only use the actual name of the submodulem0viefreak2014-02-181-1/+1
| | | | | | | | | | | | The output of 'submodule status' is Xsha1 name (describe) X being one of -,+,U,[space] We are only interested in the name part and not the whole line. Fix the parameter expansions accordingly.
* 32395: _git: diff: refactor and fix wrong completionsm0viefreak2014-02-181-33/+44
| | | | | | | | | | | | | | | | | | | Before this, there were several cases where the completion would offer the wrong things: $ git diff branch -- <tab> would try to complete "changed in workdir files", but needs to complete all "tree files in HEAD". $ git diff --cached -- file1 file2 <tab> would try to complete "changed in workdir files" but needs to complete "changed in index files". ... After this change all possible combinations are taken into account and completion should work properly.
* 32396: _git: fix __git_committish_range_{first,last} and ↵m0viefreak2014-02-181-8/+8
| | | | | | | | | | | | | | | | | | __git_is_committish_range - Ranges with 3 dots would always fail, because the non-greedy expansion %..(.|)* in __git_committish_range_first would only remove '..' and never three dots. 'a...b' would end up in 'a.'. Use ${${1%..*}%.} instead. - Use a similar approach for __git_committish_range_last. - Wrap them in another expansion to replace empty results with 'HEAD'. Git man-page states omitted range ending are being replaced with HEAD. This rule has to be followed to make completions like 'git log foo.. -- <tab>' work properly. - Add an additional check to make sure none of the extracted first/last parts contain additional '..' in invalied ranges such as 'a..b..c'. This gets rid of the 'TODO:' and ideally saves a few unneded calls to git rev-parse.
* users/18368: compromise to restore partial path completion inadvertently ↵Barton E. Schaefer2014-01-271-0/+8
| | | | removed by 31159
* 32069: completion for "git submodule update --remote"Hong Xu2013-11-301-0/+1
|
* unposted, see 32054: Rationalise character encoding.Peter Stephenson2013-11-271-26/+26
| | | | | | | | | | Shell functions are strictly ASCII for maximum portability. Other files within the distribution may contain UTF-8 characters. Exception for test files: where they need single character input with the top bit set, ISO-8859-X is used (X doesn't matter as we don't need the Euro).
* 31865: _git: Make --batch(-check) accept an argumentØystein Walle2013-10-211-2/+2
| | | | | Also reword the explanation slightly to make it more compact since more explanation is needed.
* 31864: _git: Add two sub-comamnds introduced in v1.8.4Øystein Walle2013-10-211-0/+19
| | | | Add _git-check-ignore() and _git-check-mailmap()
* 31866: _git: Reword --heads to match new meaningØystein Walle2013-10-211-1/+1
|
* 31862: _git: Add status.short and status.branchØystein Walle2013-10-211-0/+2
|
* 31863: _git: Add new arguments introduced in Git v1.8.4Øystein Walle2013-10-211-3/+10
|
* 31861: _git: Add git-clean -i/--interactive supportØystein Walle2013-10-211-0/+2
| | | | | - Add -i and --interactive to _git-clean() - Add column.clean configuration variable
* 31855: _git: revert: add '-e,--edit'm0viefreak2013-10-211-1/+2
|
* 31856: _git: fix a few "undocumented" optionsm0viefreak2013-10-211-7/+2
| | | | | | | commit: '--null' is documented relink: '-h,--help' are never documented for subcommands but always exist verify-tag: '-v,--verbose' are documented with updated description diff: '--cumulative' is deprecated -> remove
* 31858: _git: fix wrong default valueØystein Walle2013-10-211-1/+1
|
* 31857: _git: Remove unsupported -q option from diff optionsm0viefreak2013-10-211-1/+0
|
* 31859: _git: re-order the last two git-blame argumentsØystein Walle2013-10-211-2/+2
| | | | The proper syntax is git blame [<commit>] <file> where <commit> is optional.
* 31854: _git: Make git-show accept diff argumentsØystein Walle2013-10-211-1/+2
|
* 31853: _git: Add missing column.* config variablesØystein Walle2013-10-211-0/+14
|
* 31754: _git: git rm: make git rm --cached work as intendedm0viefreak2013-09-221-5/+1
| | | | | | | | | | While limiting the completion to __git_changed-in-index_files makes perfect sense for "git diff", it is wrong to use for "git rm", because it prevents it from completing files present in HEAD. Giving --cached to git rm is supposed to "just remove it from the index, keep the working tree copy" and is in no way related to the file needing to be modified in the index in the first place.
* 31752: _git: change completion text for consistencyØystein Walle2013-09-221-1/+1
|
* 31753: _git: correct some "undocumented" optionsm0viefreak2013-09-221-10/+6
| | | | | | | | | diff options: --cumulative is deprecated --> remove -G / -S: reword -S to emphase the difference to -G revision options: --abbrev: reword, to emphase the --abbrev-commit requirement
* 31751: _git: remove TODOs of actually documented optionsØystein Walle2013-09-221-4/+0
| | | | No functional changes.
* 31749: _git: fix some typos in description textsØystein Walle2013-09-221-16/+16
|
* 31748: _git: support completing remote branches without <remote>/ prefixm0viefreak2013-09-221-0/+16
| | | | | | | | this is used in git 1.8's git checkout <branch> as a shorthand for git checkout -b <branch> --track <remote>/<branch> in case <branch> exists on exactly one remote and is not a local branch
* 31746: _git: reword _git-config TODOm0viefreak2013-09-221-1/+1
| | | | | Support for merge drivers, filter drivers, and diff drivers is missing.
* 31750: _git: add new configuration options to match latest git v1.8.3Øystein Walle2013-09-221-1/+100
|
* 31747: _git: completion updates to match latest git v1.8.3 part 2Øystein Walle2013-09-221-27/+91
|
* 31755: _git: completion updates to match latest git v1.8.3m0viefreak2013-09-221-64/+186
|
* 31745: _git: correctly use __git_guard_number in some casesm0viefreak2013-09-221-5/+5
| | | | The space is relevant to make the help text work as intended.
* 31744: _git: make git submodule <cmd> completion workm0viefreak2013-09-221-1/+1
| | | | | The -A parameter in the main completion stopped completion in the subcommands from working. Remove it.
* 31743: _git: fix usage of ->int: for some entries in _git-configm0viefreak2013-09-221-9/+9
|
* 31741: _git: fix a wrong variable in __git_config_valuesm0viefreak2013-09-221-1/+1
| | | | This probably was a copy/paste mistake.
* 31726: _git: add few more arguments for cherry-pick and revertLuka Perkov2013-09-141-0/+6
| | | | Signed-off-by: Luka Perkov <luka@openwrt.org>
* 31708: _git: add --fixup and --squash options to commitLuka Perkov2013-09-071-0/+2
| | | | Signed-off-by: Luka Perkov <luka@openwrt.org>
* 31702: check for git rebase -i for autosquashLuka Perkov2013-09-061-1/+1
|
* 31288: _git: fix shortlog completerRamkumar Ramachandra2013-04-251-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>
* 31289: _git: branch.*.pushremote, remote.pushdefaultRamkumar Ramachandra2013-04-211-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>
* 31286: _git: add a couple of browsersRamkumar Ramachandra2013-04-211-0/+2
| | | | | | | Add google-chrome/chromium to the list of builtinbrowsers in __git_browsers (). Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
* 31159: git: Pass prefix filter to ls-files even if it matches no filesTorstein Hegge2013-04-201-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.
* 31221: Handle zero defined aliases betterFrank Terbeck2013-04-051-1/+7
|
* Benjamin R. Haskell: 30737: make custom completions for git aliases easierOliver Kiddle2012-11-071-1/+1
|
* users/17382: complete URLs for vim and make _remote_files moreOliver Kiddle2012-11-071-1/+1
| | | | consistent with _files
* unposted: fix a typo in _git from previous commit (reolved)Mikael Magnusson2012-03-061-1/+1
|
* 30317: complete git merge --ff-onlyClint Adams2012-03-061-0/+1
|