about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
Commit message (Collapse)AuthorAgeFilesLines
* unposted: _git: Fix copy/paste error in earlier commit that broke `git stash ↵dana2022-02-121-1/+1
| | | | | | | | drop` This was broken by workers/44923 (8aa84bd5fc44) (cherry picked from commit 754658aff38e1bdf487c58bec6174cbecd019d11)
* 45365: _git: Fix __git_recent_branches for the case when a commit has an ↵WGH2020-02-021-2/+2
| | | | empty message
* 45332: _git: add completion for git-versionEitan Adler2020-01-191-1/+8
| | | | Signed-off-by: Eitan Adler <lists@eitanadler.com>
* 45280: _git: add -local variantsEitan Adler2020-01-111-2/+9
| | | | | | | | Technically all timezone formats support the "-local" suffix but it is not meaningful for all of them. As such just list out the specific formats which it does. Also adjust the 'default' description
* Fix typos reported by codespell in shell codeMikael Magnusson2020-01-091-2/+2
|
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-5/+5
|
* 44923: update options for git 2.24Oliver Kiddle2019-11-241-149/+157
|
* 44797: _git-config: Complete unknown options from 'git help -c'.Daniel Shahaf2019-10-021-1/+8
|
* 44779: completion for new git switch and git restore commandsOliver Kiddle2019-09-271-21/+154
|
* github #38: fix completion text for git update-index --chmodTobias Schulte2019-09-181-1/+1
|
* 44551: update for new git changesOliver Kiddle2019-07-191-37/+165
|
* 44274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle2019-05-071-7/+7
|
* 44111: _git: Use `git rev-list` for log messagesdana2019-03-211-5/+7
| | | | | This side-steps issues related to `git log` respecting settings like log.showSignature
* 44080: Completion: Fix several option-description typosdana2019-02-261-3/+3
|
* github #32: Fix a typo in the git tag completion.Fredric Silberberg2019-01-281-1/+1
|
* 43974: _git: Always offer -F/-m for `git tag`dana2019-01-041-10/+2
|
* github #29: Add completion support for Gits --color-moved option and color ↵Wieland Hoffmann2018-11-021-5/+19
| | | | | | settings --color-moved was added in Git 2.15.
* 43698: update options for git 2.19.1Oliver Kiddle2018-10-171-37/+74
|
* 43443: _git: When completing worktrees, show the ref and hash of each worktree.Daniel Shahaf2018-09-121-2/+19
|
* 43442: _git: Break out a helper function.Daniel Shahaf2018-09-121-2/+6
|
* unposted: git describe's --long and --abbrev options are not mutually exclusiveOliver Kiddle2018-08-311-2/+2
|
* 43359: further review of git remote set-url completionOliver Kiddle2018-08-311-26/+17
|
* 42810: git remote set-url completionpseyfert2018-08-311-7/+22
|
* unposted (PR #26): __git_files: fix double quotation of starMarc Cornellà2018-08-121-1/+1
| | | | | | | | | This fixes the double quote introduced by aa160fc8, so that the end result of the parameter expansion is $pref followed by \* (a quoted star), meaning `git ls-files` gets a literal star, not an expanded list of matching files, as was intended in commit cc7437bf. Fixes completion of `git add ../<TAB>`.
* 43073: various completion option updatesOliver Kiddle2018-06-211-15/+34
|
* 43006: complete modified files after `git stash --`Tim Smith2018-06-181-0/+3
|
* users/23484: be consistent on matcher specs for git branches to fix issue ↵Oliver Kiddle2018-06-181-6/+6
| | | | with partial matching
* 42752: enhance git external alias completionPeter Stephenson2018-05-081-1/+4
| | | | | If alias expands to !cmd-name, complete as a normal command line after cmd-name.
* 42659: various completion option updatesOliver Kiddle2018-04-161-11/+48
|
* 42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use ↵Oliver Kiddle2018-03-241-4/+0
| | | | for mosh and git
* 42364: _git: fix __git_ignore_line to ignore the current wordDaniel Hahler2018-02-221-6/+1
| | | | | | | | | Before this patch "git branch -d master<tab>" would result in "no matches found", while "master" itself should get completed here. The "(bQ)" (added in 527badc23, via 38129?!) does not seem to be necessary anymore: with files "f\[a-z\]o" and "foo", "git add f[a-z]o <tab>" offers "f\[a-z\]o", but not "foo".
* 42324: _git: handle mutually exclusive optionsDaniel Hahler2018-02-121-16/+17
| | | | | | | | | | | Currently `git show --stat -p` is not considered a valid completion and prevents further completions like `--no-abbrev`. It is a valid use case however to use `--stat` with `-p` (and there is a synonym `--patch-with-stat` for it even). This patch changes `__git_setup_diff_options` to only handle mutually exclusive arguments reported by Git (as a fatal error) in a special way.
* 42333: git 2.16.0 no longer accepts an empty string as a pathspec element so ↵Christian Hesse2018-02-081-1/+1
| | | | replace empty strings with a dot
* 42323: _git: move "local" statement out of loopDaniel Hahler2018-01-241-2/+2
| | | | Fixup for 99cf61fd4.
* 42317: completion option updates for commands that have had recent updatesOliver Kiddle2018-01-231-24/+64
|
* 42171: prevent parameters of various parameters from becoming globalEric Cook2018-01-021-1/+1
|
* 42138: _git-revert: Complete recent commits first.Daniel Shahaf2017-12-201-1/+1
|
* 42019: update options in git completion to 2.15Oliver Kiddle2017-11-131-64/+164
| | | | also improve format completion for git tag and for-each-ref
* 41957: update git completion for git 2.14.3Oliver Kiddle2017-10-291-4/+6
|
* 41808: _git-cherry-pick: Typo fixesNoah Pendleton2017-10-041-2/+2
|
* 41552: complete only branches after git worktree add --detachOliver Kiddle2017-08-161-2/+2
| | | | the --detach is superfluous for other commits
* 41493: fix to not print hash into terminal and update options for git 2.14Oliver Kiddle2017-08-061-2/+7
|
* 41475: _git: Complete files after 'reset' when there are no commits, when ↵Daniel Shahaf2017-08-021-0/+6
| | | | the 'verbose' style is set.
* unposted: _git: Fix style lookup for 'max-verbose'.Daniel Shahaf2017-07-311-1/+1
|
* 41414: fix for commas used in exclusion listsFabian Klötzl2017-07-141-1/+8
| | | | also missing escape for _gcc and --no-index option for git diff
* 41419: update for git 2.13.2Oliver Kiddle2017-07-141-11/+30
|
* 41339: Unquote treeish argument for git checkout completionPeter Stephenson2017-06-221-2/+2
|
* 40943: __git_recent_commits: prefer recent commit objectsDaniel Hahler2017-04-231-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.
* 40818: _git-checkout: When completing local heads, prefer ↵Daniel Shahaf2017-03-141-1/+5
| | | | recently-checked-out ones. (after 38592)
* 40817: __git_recent_branches: Retrieve less data, but faster.Daniel Shahaf2017-03-141-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'.