summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
2020-03-07Merge remote-tracking branch 'origin/master' into 5.9Daniel Shahaf1-3/+10
* Test/D02glob.ztst: On the "unreadable directories can be globbed (users/24619, users/24626)" test, resolve conflicts by removing the Cygwin-only skip that has been added in master, since the test is passing on this branch. This effectively reverts workers/45492. See discussion starting in workers/45504. * origin/master: unposted: Remove 'sgi', as that OpenBSD port has been discontinued. 45509: fix typos in B01cd.ztst 45490 (+45495 and a test): refactor rlimits.c github #49: Fix typo: longson should be loongson users/24710: Fix job control problem with sudo. 45492: skip test added by users/24633 on Cygwin 45488: COMP_WORDS for bash need "$@"-style quoting 45487: Missing mod_export declarations for AIX 45447: Complete vcs_info_hookadd and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level helper function. 45463: test: kill: Document why we use SIGURG 45453: builtins: kill: Do not signal current process group when pid is empty 45452: builtins: kill: Add `kill ''` regression test with explicit sigspec 45451: builtins: kill: Add basic test suite github #48/0002: vcs_info git: properly detect bare repositories github #48/0001: vcs_info git: avoid warnings in bare repositories unposted: Post-release version bump unposted: Release 5.8 CVE-2019-20044: Update change log for preceding commits Update NEWS/README Add unsetopt/PRIVILEGED tests Clean up error-message white space Improve PRIVILEGED fixes (again) Improve PRIVILEGED fixes Drop privileges securely unposted: V01zmodload: Fix failing test from workers/45385 45423: _su: Improve arg handling, shell look-ups unposted: _zip: Recognise '--' 45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features. unposted: Test release: 5.7.1-test-3 zsh/system: Fix infinite loop in sysread _diff_options: Restore -w completion lost in workers/43351 unposted: Fix ChangeLog typo. 45368: Add tests for workers/45367's issue about double slashes in 'cd -P' and /home/daniel/in/zsh. 45373: Fix ERR_EXIT bug in else branch of if. 45372: Record a symlink loop bug involving :P 45365: _git: Fix __git_recent_branches for the case when a commit has an empty message 45343: Queue signals around arithmetic evaluations 45344: Document where third-party completion functions should be installed. 45345: internal: ztst.vim: Fix highlighting of zsh comments in test payload unposted: internal: Add some comments and fix indentation. No functional change. 45340: internal: Document the difference between paramtab and realparamtab. 45332: _git: add completion for git-version _brace_parameter: add missing \ Conflicts: ChangeLog Test/D02glob.ztst Test/V01zmodload.ztst
2020-02-0245365: _git: Fix __git_recent_branches for the case when a commit has an ↵WGH1-2/+2
empty message
2020-01-1945332: _git: add completion for git-versionEitan Adler1-1/+8
Signed-off-by: Eitan Adler <lists@eitanadler.com>
2020-01-1745313: _git: Support completion from outside of a worktree when ↵Daniel Shahaf1-4/+7
--git-dir/--work-tree are specified on the command line Revised version of workers/41523.
2020-01-15Merge remote-tracking branch 'origin/master' into 5.9Daniel Shahaf1-9/+16
Right now, as we're preparing to tag the 5.8 release, the 5.9 branch is maintained as a topic branch off master. * origin/master: 45287: zshexpn: Describe parameter elision and add some introductory prose 45302: bin_umask(): Queue signals around umask(). users/24656: docs: Add an example of setting and querying zstyles users/24659: Cross-ref doc for matchers. 45296: D02glob: Clean up after test from users/24633 45290: New helper script for listing XFail tests. users/24633: Add an xfail test for users/24619. unposted: additional typo fix 45280: _git: add -local variants users/24628 (fixed): More doc for selectw-word-style widgets. 45266: Fix losetup completion, broken in da085b7a20729401c725f91ae930200d0deda64f (41720). unposted: Fix punctuation. use /dev/fd on Cygwin for process substitution unposted: Two additional typo fixes. Fix typos reported by codespell in shell code Fix typos reported by codespell in Src/ 45269: Fix misspellings in completions and elsewhere. 45261: _gcc: Detect clang-as-gcc unposted: internal: Remove Vim modeline that interferes with ztst.vim. unposted: internal: ztst.vim: Use :syn-sync to work around (#x) and "`\\\\\\\\`" confusing the highlighting. unposted: internal: zyodl.vim: Support glob qualifiers in example()'s unposted: internal: zyodl.vim: Support yodl comments. github #44: Allow completion for picocom to list symlinks to character devices 45245: _gcc: add some clang specific warnings 45231: _rsync: When completing remote modules, ignore more of the motd. unposted: _tac: Eliminate superfluous variable 45226: _man: Improve completion of file paths 45184: Clarify documentation of %-sequences understood by compadd -[Xx] 45239: Remove 'appendhistory' from zsh-newuser-install 45218: add more options to swaks completion 45196: fix completion after make -C, allowing for -C being used multiple times unposted (after 45183): Fix yodl error: "contrib.yo:4457: No macro: back(...)". 45181: Fix workers/45164: ${(S)%%} will now consider the empty string as a potential match. 45183: Improve documentation examples unposted: Add some tests for ${(S)}, including a regression test for workers/45164. 45169/0002 (tweaked for trailing newlines): Add an expected-to-fail test for workers/44007. 45169/0001: In the test suite, allow test cases to be marked as expected to fail. users/24582 + users/24583: Add regression tests for the previous commit. 24581: Fix array assignments in shell word splitting and completion. 45160: zshexpn: Expand documentation of (S) 45150 + 45152: zshexpn: Use a more minimal example in the documentation of (#b). unposted: internal: Vim ztst support: Add an ftplugin in addition to the syntax highlighter. 45130: _multi_parts: Always pass -f to compadd if given by caller unposted: zerrmsg(): Fix macro guard missed in previous commit unposted: ChangeLog for last commit internal: Allow %L in zerrmsg() in non-debug builds, too.
2020-01-1545288: _git: Complete bisect/new as well as bisect/bad.Daniel Shahaf1-3/+1
Also, complete the bisect/old-$commithash ref names.
2020-01-1145280: _git: add -local variantsEitan Adler1-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
2020-01-09Fix typos reported by codespell in shell codeMikael Magnusson1-2/+2
2020-01-0945269: Fix misspellings in completions and elsewhere.Jens Schleusener1-5/+5
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