summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
2019-11-2444923: update options for git 2.24Oliver Kiddle1-149/+157
2019-10-0244797: _git-config: Complete unknown options from 'git help -c'.Daniel Shahaf1-1/+8
2019-09-2744779: completion for new git switch and git restore commandsOliver Kiddle1-21/+154
2019-09-18github #38: fix completion text for git update-index --chmodTobias Schulte1-1/+1
2019-07-1944551: update for new git changesOliver Kiddle1-37/+165
2019-05-0744274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle1-7/+7
2019-03-2144111: _git: Use `git rev-list` for log messagesdana1-5/+7
This side-steps issues related to `git log` respecting settings like log.showSignature
2019-02-2644080: Completion: Fix several option-description typosdana1-3/+3
2019-01-28github #32: Fix a typo in the git tag completion.Fredric Silberberg1-1/+1
2019-01-0443974: _git: Always offer -F/-m for `git tag`dana1-10/+2
2018-11-02github #29: Add completion support for Gits --color-moved option and color ↵Wieland Hoffmann1-5/+19
settings --color-moved was added in Git 2.15.
2018-10-1743698: update options for git 2.19.1Oliver Kiddle1-37/+74
2018-09-1243443: _git: When completing worktrees, show the ref and hash of each worktree.Daniel Shahaf1-2/+19
2018-09-1243442: _git: Break out a helper function.Daniel Shahaf1-2/+6
2018-08-31unposted: git describe's --long and --abbrev options are not mutually exclusiveOliver Kiddle1-2/+2
2018-08-3143359: further review of git remote set-url completionOliver Kiddle1-26/+17
2018-08-3142810: git remote set-url completionpseyfert1-7/+22
2018-08-12unposted (PR #26): __git_files: fix double quotation of starMarc Cornellà1-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>`.
2018-06-2143073: various completion option updatesOliver Kiddle1-15/+34
2018-06-1843006: complete modified files after `git stash --`Tim Smith1-0/+3
2018-06-18users/23484: be consistent on matcher specs for git branches to fix issue ↵Oliver Kiddle1-6/+6
with partial matching
2018-05-0842752: enhance git external alias completionPeter Stephenson1-1/+4
If alias expands to !cmd-name, complete as a normal command line after cmd-name.
2018-04-1642659: various completion option updatesOliver Kiddle1-11/+48
2018-03-2442491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use ↵Oliver Kiddle1-4/+0
for mosh and git
2018-02-2242364: _git: fix __git_ignore_line to ignore the current wordDaniel Hahler1-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".
2018-02-1242324: _git: handle mutually exclusive optionsDaniel Hahler1-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.
2018-02-0842333: git 2.16.0 no longer accepts an empty string as a pathspec element so ↵Christian Hesse1-1/+1
replace empty strings with a dot
2018-01-2442323: _git: move "local" statement out of loopDaniel Hahler1-2/+2
Fixup for 99cf61fd4.
2018-01-2342317: completion option updates for commands that have had recent updatesOliver Kiddle1-24/+64
2018-01-0242171: prevent parameters of various parameters from becoming globalEric Cook1-1/+1
2017-12-2042138: _git-revert: Complete recent commits first.Daniel Shahaf1-1/+1
2017-11-1342019: update options in git completion to 2.15Oliver Kiddle1-64/+164
also improve format completion for git tag and for-each-ref
2017-10-2941957: update git completion for git 2.14.3Oliver Kiddle1-4/+6
2017-10-0441808: _git-cherry-pick: Typo fixesNoah Pendleton1-2/+2
2017-08-1641552: complete only branches after git worktree add --detachOliver Kiddle1-2/+2
the --detach is superfluous for other commits
2017-08-0641493: fix to not print hash into terminal and update options for git 2.14Oliver Kiddle1-2/+7
2017-08-0241475: _git: Complete files after 'reset' when there are no commits, when ↵Daniel Shahaf1-0/+6
the 'verbose' style is set.
2017-07-31unposted: _git: Fix style lookup for 'max-verbose'.Daniel Shahaf1-1/+1
2017-07-1441414: fix for commas used in exclusion listsFabian Klötzl1-1/+8
also missing escape for _gcc and --no-index option for git diff
2017-07-1441419: update for git 2.13.2Oliver Kiddle1-11/+30
2017-06-2241339: Unquote treeish argument for git checkout completionPeter Stephenson1-2/+2
2017-04-2340943: __git_recent_commits: prefer recent commit objectsDaniel Hahler1-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.
2017-03-1440818: _git-checkout: When completing local heads, prefer ↵Daniel Shahaf1-1/+5
recently-checked-out ones. (after 38592)
2017-03-1440817: __git_recent_branches: Retrieve less data, but faster.Daniel Shahaf1-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'.
2017-03-0940808: fix typos where (x,y) should have been (x y) in _arguments syntaxFabian Klotzl1-1/+1
2017-03-0440715: update completion of git options for git 2.12.0Oliver Kiddle1-8/+24
2017-02-0740494: _git: Use slashes matchspec for references (as already used for ↵Daniel Shahaf1-2/+3
branch names).
2017-02-0740493/0002: _git-checkout: Reorder default completions.Daniel Shahaf1-2/+3
The unprefixed name of a remote branch is used to create a new local remote-tracking branch; that is presumed to be a rarer operation than either switching among local branches or reverting to the index version of a modified file. Between the remaining two, put modified files before tree-ishes because there are generally few of the former and many of the latter.
2017-02-0740493/0001: _git-checkout: No functional change.Daniel Shahaf1-13/+9
This makes the next diff smaller.
2016-12-0140055: update git completion for git 2.11.0Oliver Kiddle1-13/+29