summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
2014-10-1433467: correct return status on functions and numerous other minor fixesOliver Kiddle1-53/+36
2014-09-2333180: _git: add missing --3way optionØystein Walle1-0/+1
2014-09-2333177: _git: fix typo in git-applyØystein Walle1-1/+1
2014-09-2333178: _git: updates for Git 2.1.0Øystein Walle1-5/+21
This incorporates changes mentioned in the release notes since 2.0.0.
2014-09-2333176: _git: Add missing --list to git-tagØystein Walle1-1/+1
2014-09-2333179: _git: updates for Git 2.0.0Øystein Walle1-3/+24
This incorporates changes mentioned in the release notes since 1.9.0.
2014-09-1433150: completion git: fix send-email --confirm valuesMarc Finet1-1/+1
2014-09-1433151: completion git: support aliases when \n existMarc Finet1-3/+7
The git completion for aliases (i.e. completing with aliased verb) was broken whem some \n exist in aliases.
2014-08-24un-transpose help text for git merge -{-no,}-verifyBarton E. Schaefer1-2/+2
2014-03-23m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixesm0viefreak1-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
2014-03-2132502: fix typo in argument list for git completioTakeshi Banse1-1/+1
2014-02-25users/18485: add .. as an auto-removable suffix in git revision rangesOliver Kiddle1-3/+8
2014-02-1832398: _git: completion updates up to latest git v1.9.0m0viefreak1-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
2014-02-1832397: _git: fix __git_submodules to only use the actual name of the submodulem0viefreak1-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.
2014-02-1832395: _git: diff: refactor and fix wrong completionsm0viefreak1-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.
2014-02-1832396: _git: fix __git_committish_range_{first,last} and ↵m0viefreak1-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.
2014-01-27users/18368: compromise to restore partial path completion inadvertently ↵Barton E. Schaefer1-0/+8
removed by 31159
2013-11-3032069: completion for "git submodule update --remote"Hong Xu1-0/+1
2013-11-27unposted, see 32054: Rationalise character encoding.Peter Stephenson1-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).
2013-10-2131865: _git: Make --batch(-check) accept an argumentØystein Walle1-2/+2
Also reword the explanation slightly to make it more compact since more explanation is needed.
2013-10-2131864: _git: Add two sub-comamnds introduced in v1.8.4Øystein Walle1-0/+19
Add _git-check-ignore() and _git-check-mailmap()
2013-10-2131866: _git: Reword --heads to match new meaningØystein Walle1-1/+1
2013-10-2131862: _git: Add status.short and status.branchØystein Walle1-0/+2
2013-10-2131863: _git: Add new arguments introduced in Git v1.8.4Øystein Walle1-3/+10
2013-10-2131861: _git: Add git-clean -i/--interactive supportØystein Walle1-0/+2
- Add -i and --interactive to _git-clean() - Add column.clean configuration variable
2013-10-2131855: _git: revert: add '-e,--edit'm0viefreak1-1/+2
2013-10-2131856: _git: fix a few "undocumented" optionsm0viefreak1-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
2013-10-2131858: _git: fix wrong default valueØystein Walle1-1/+1
2013-10-2131857: _git: Remove unsupported -q option from diff optionsm0viefreak1-1/+0
2013-10-2131859: _git: re-order the last two git-blame argumentsØystein Walle1-2/+2
The proper syntax is git blame [<commit>] <file> where <commit> is optional.
2013-10-2131854: _git: Make git-show accept diff argumentsØystein Walle1-1/+2
2013-10-2131853: _git: Add missing column.* config variablesØystein Walle1-0/+14
2013-09-2231754: _git: git rm: make git rm --cached work as intendedm0viefreak1-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.
2013-09-2231752: _git: change completion text for consistencyØystein Walle1-1/+1
2013-09-2231753: _git: correct some "undocumented" optionsm0viefreak1-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
2013-09-2231751: _git: remove TODOs of actually documented optionsØystein Walle1-4/+0
No functional changes.
2013-09-2231749: _git: fix some typos in description textsØystein Walle1-16/+16
2013-09-2231748: _git: support completing remote branches without <remote>/ prefixm0viefreak1-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
2013-09-2231746: _git: reword _git-config TODOm0viefreak1-1/+1
Support for merge drivers, filter drivers, and diff drivers is missing.
2013-09-2231750: _git: add new configuration options to match latest git v1.8.3Øystein Walle1-1/+100
2013-09-2231747: _git: completion updates to match latest git v1.8.3 part 2Øystein Walle1-27/+91
2013-09-2231755: _git: completion updates to match latest git v1.8.3m0viefreak1-64/+186
2013-09-2231745: _git: correctly use __git_guard_number in some casesm0viefreak1-5/+5
The space is relevant to make the help text work as intended.
2013-09-2231744: _git: make git submodule <cmd> completion workm0viefreak1-1/+1
The -A parameter in the main completion stopped completion in the subcommands from working. Remove it.
2013-09-2231743: _git: fix usage of ->int: for some entries in _git-configm0viefreak1-9/+9
2013-09-2231741: _git: fix a wrong variable in __git_config_valuesm0viefreak1-1/+1
This probably was a copy/paste mistake.
2013-09-1431726: _git: add few more arguments for cherry-pick and revertLuka Perkov1-0/+6
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-0731708: _git: add --fixup and --squash options to commitLuka Perkov1-0/+2
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-0631702: check for git rebase -i for autosquashLuka Perkov1-1/+1
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>