about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
Commit message (Collapse)AuthorAgeFilesLines
* 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'.
* 40808: fix typos where (x,y) should have been (x y) in _arguments syntaxFabian Klotzl2017-03-091-1/+1
|
* 40715: update completion of git options for git 2.12.0Oliver Kiddle2017-03-041-8/+24
|
* 40494: _git: Use slashes matchspec for references (as already used for ↵Daniel Shahaf2017-02-071-2/+3
| | | | branch names).
* 40493/0002: _git-checkout: Reorder default completions.Daniel Shahaf2017-02-071-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.
* 40493/0001: _git-checkout: No functional change.Daniel Shahaf2017-02-071-13/+9
| | | | This makes the next diff smaller.
* 40055: update git completion for git 2.11.0Oliver Kiddle2016-12-011-13/+29
|
* 40035: Cosmetic fixes for comments and documentation.Eitan Adler2016-11-291-1/+1
| | | | Mostly fixes to doubled words.
* unposted: _git-config: Fix user.email completion to complete only bare email ↵Daniel Shahaf2016-11-291-1/+1
| | | | addresses.
* 39916 + 39930 + tweak: _git: Complete options and values for -c.Daniel Shahaf2016-11-181-3/+47
| | | | | | | | | The "$@" in the option-names call is added in order to propagate the new (-S =) arguments. This bifurcates _git-config() in order to provide completion for % git -c <TAB> % git -c foo=<TAB>
* 39921: __git_recent_branches: Remove erroneous parsing of partial ref names ↵Daniel Shahaf2016-11-171-3/+3
| | | | | | | | | | | | as tags. In the reflog, partial ref names in the "from" field always represent names of heads. (That is not true for the "to" field.) The parsing of tag names was added in commit 39102 (317c96b64f43688a6be08a8b1c93b6ab4eed662c) for equivalence with the then-previous implementation which used `git log $partial_ref_name`. The equivalence was correct, however, the then-previous implementation was not, since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/ name did not exist.
* 39922: __git_recent_branches: Fix an 'assertion' failure when two branches ↵Daniel Shahaf2016-11-171-11/+8
| | | | (refs) point to the same commit.
* 39822: _git: remove "-A '-*'" with _arguments for some commandsDaniel Hahler2016-11-031-5/+5
| | | | | | | | | With e.g. `git rebase origin/master` you can have options like `--no-autosquash` after the argument. I have tried the commands where this patch removes `-A`. Commands like `git fetch-pack` that do not support options after arguments are left unchanged.
* _git-cherry-pick: Complete argv[2] et seq.Daniel Shahaf2016-10-291-1/+1
|
* 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset ↵Daniel Shahaf2016-10-071-1/+1
| | | | | | | | -P' calls to use shortest match where applicable, plus random drive-by tweaks. Found by grepping for patterns that can match needles of various lengths: :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
* 39514: pass on --git-dir when calling git to get completion matchesOliver Kiddle2016-09-301-1/+1
|
* unposted: _git: Permit multiple -c options.Daniel Shahaf2016-09-141-1/+1
|
* 39165: update options to correspond to latest versions of software in ↵Oliver Kiddle2016-09-031-6/+21
| | | | various functions
* 39122: __git_recent_branches: Silence warning on an edge case.Daniel Shahaf2016-08-311-2/+9
| | | | (The warning was correct; there is no functional change, though.)