summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
AgeCommit message (Collapse)AuthorFilesLines
2015-08-0235970: completion: fix typos in _git and _brace_parameterDaniel Hahler1-2/+2
2015-07-1335779: completion: _git-config: remove extraneous "local expl"Daniel Hahler1-1/+0
It is defined at the beginning of the function already, and results in the output of `expl=''` when completing after `git config branch.local.pushremote ` etc.
2015-06-1835510: use consistent formatting for git subcommandsOliver Kiddle1-83/+33
2015-06-1835504: complete % placeholders for git log --formatOliver Kiddle1-10/+90
2015-06-0835216: _git-checkout: do not call __git_commits twiceDaniel Hahler1-3/+1
This makes `branch_arg` empty by default, to be used only for __git_remote_branch_names. `branches::__git_revisions` was used here, but that's the same as tree_ish_arg='tree-ishs::__git_tree_ishs' - both call __git_commits. Only tree_ish_arg will call __git-commits now.
2015-05-2935098: completion: git: provide --amend also with "message" groupDaniel Hahler1-2/+2
Especially during a git rebase, you would use `git commit -m foo --amend`.
2015-05-2835315: replace inappropriate uses of _path_commandsOliver Kiddle1-45/+42
2015-05-2235261: completion: git: __git_recent_commits: local retDaniel Hahler1-1/+1
Without this, `ret` will be set to 1 with `git diff --ex<tab>` and result in duplicate entries: % git diff --ex<tab> -- option -- --exit-code -- report exit code 1 if differences, 0 otherwise --exit-code -- report exit code 1 if differences, 0 otherwise --ext-diff -- allow external diff helper to be executed --ext-diff -- allow external diff helper to be executed --no-ext-diff -- disallow external diff helper to be executed -- recent commit object name --
2015-05-1935224: completion: git: Add fast-export --signed-tags=warn-stripDaniel Shahaf1-1/+2
2015-05-1935217: add missing changelog entry; use "-O expl" with _alternativeDaniel Hahler1-1/+1
2015-05-1935217: completion: git: send-email: complete (recent) commitsDaniel Hahler1-1/+3
This adds `__git_commit_objects_prefer_recent` as alternative for git-send-email's completion.
2015-05-19__git_commit_objects: do not use _guard, but only a patternDaniel Hahler1-1/+1
With using `_guard` there like it's been done, the completion could not be selected, probably because of the call to `_message` therein. This changes it to use only the logic/check from `_guard` that we want here.
2015-05-19Completion/Unix/Command/_git: remove -2 with __git_recent_commitsDaniel Hahler1-1/+1
Remove "-2" for _describe in __git_recent_commits. This fixes the duplicate entries issue, because __git_recent_commits gets called twice for _git-checkout (for __git_revisions and __git_tree_ishs): 1. __git_commit_objects_prefer_recent _alternative __git_commits __git_revisions _alternative _git-checkout 2. __git_commit_objects_prefer_recent _alternative __git_commits __git_tree_ishs _alternative _git-checkout
2015-05-1935204: fix broken __git_recent_commits from previous commitDaniel Hahler1-1/+1
This fixes 1e7bb4a: newlines need to be kept (from the "%d" part).
2015-05-1935164: fix __git_commit_objects/__git_recent_commitsDaniel Hahler1-2/+2
$pipestatus for `: foo` is 0 always. Without this, "git checkout" in a non-git directory would complete " ", but not result in a note/error about not being in a git dir.
2015-05-19users/20222: completion: git: Add matchspec for headsDaniel Shahaf1-4/+4
Allows 'git checkout o/m<TAB>' to complete 'origin/master'. Moreover, '/x<TAB>' would complete 'foo/bar/xyzzy/baz', since the matchspec uses not '*' but '**'.
2015-05-1835105: completion: git: add distance_from_head to __git_recent_commitsDaniel Shahaf1-1/+14
This adds the "HEAD~15" gitrevisions(7) identifier of the commit to the description, which also uniquifies, isn't redundant, and may be easier to type. Ref: zsh-workers/34820 (http://www.zsh.org/mla/workers/2015/msg00744.html)
2015-05-1835106: completion: git: unique name for __git_recent_commitsDaniel Hahler1-1/+1
This helps to distinguish it from __git_commit_objects.
2015-05-1835103: completion: git: add %cr to commit objects (all and recent)Daniel Hahler1-2/+2
2015-05-1835104: completion: git: __git_commit_objects: query 1000 commitsDaniel Hahler1-2/+5
Also, `--all` and `--reflog` is used to get all commits. It adds the _guard in front, so only non-empty values will come here. Also, __git_commit_objects_prefer_recent will only call it, if there are no matching recent commits.
2015-05-1835101: completion: git: add __git_commit_objects_prefer_recentDaniel Hahler1-1/+6
This is used with __git_commits then, and is meant to only call __git_recent_commits, if there are matches.
2015-05-1835100: __git_recent_commits: massage ' ->*' from headsDaniel Hahler1-0/+2
Handle " -> master, origin/master" in decorated git-log output, and add it as separate entries.
2015-05-17completion: git: add missing return to __git_recent_commitsDaniel Hahler1-0/+1
2015-05-1635161: completion: git: Fix typo in 35061Daniel Shahaf1-1/+1
2015-05-15users/20219: fix completion for git optionsOliver Kiddle1-2/+2
2015-05-1435062: __git_setup_revision_options includes __git_setup_diff_optionsDaniel Hahler1-4/+1
2015-05-1435061: add __git_setup_diff_stage_options and use it with _git-diff-files ↵Daniel Hahler1-6/+16
and _git-diff explicitly
2015-05-1435016: introduce new pretty formats %g[sdD] for reflog informationDaniel Hahler1-1/+1
2015-05-1235060 + 35072: completion: git: split __git_heads into local and remoteDaniel Hahler1-2/+18
It is useful to have this distinction visually. This also uses `--format=%(refname:short)` directly with `git for-each-ref`.
2015-04-1334886: completion: git: Complete rebase --exec argumentDaniel Shahaf1-1/+1
2015-04-1334885: completion: git: Sort "commit object" completions most recent firstDaniel Shahaf1-1/+1
2015-04-1334885: completion: git: Fix another instance of the 34671 bug fixed in 34814Daniel Shahaf1-1/+3
2015-04-1034748: completion: git: update list of builtintoolsDaniel Hahler1-9/+16
2015-04-0134814: completion: git: Fix bug introduced by 236da69Daniel Shahaf1-1/+3
Based on a patch by Daniel Hahler <git@thequod.de>.
2015-03-2934762: completion: git: add short option for '--dir-diff' (_git-difftool)Daniel Hahler1-1/+1
2015-03-1934739: git completion: Fix regression in ce80a92Daniel Shahaf1-1/+1
This restores the message when completing a commit object name that isn't one of the most recent 20 commits. e.g., 'git checkout deadbeef<TAB>'.
2015-03-1634671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git ↵Daniel Shahaf1-1/+1
--fixup' hash completions
2015-03-1634671: git completion: only offer recent commits' tags/heads for --fixupDaniel Shahaf1-2/+34
2015-03-0734638 with tweaks: git completion: complete commit hashes and --fixupDaniel Hahler1-3/+9
2015-02-0834468: completion: git: stash: handle 'save' being the defaultDaniel Hahler1-5/+11
"git stash" should complete arguments for "git stash save", but without the message part.
2015-02-0834467: completion: git: minor doc fixesDaniel Hahler1-7/+3
I am not sure about the deprecation of user-commands, but from other places in the doc and commit history this deprecation was meant to be reverted?!
2015-02-0834469: git completion: add "stash" from refs/stash to __git_headsDaniel Hahler1-0/+1
2015-02-0234444: git completion: minor improvementsDaniel Shahaf1-4/+4
- 'git rebase': complete arguments in the same word as the option - 'git commit': provide message for --fixup/--squash
2015-01-17_git: Change one --validate to --no-validateWieland Hoffmann1-1/+1
As the description of that argument says, it's used to *not* perform sanity checks.
2015-01-0534042: _git: Respect tags for subcommand completion.Daniel Shahaf1-14/+54
It is now possible to use the tag-order style to stagger the overwhelming 'git <TAB>' subcommand listing. For example: zstyle ':completion::complete:git:argument-1:' tag-order \ main-porcelain-commands user-commands third-party-commands \ ancillary-manipulator-commands ancillary-interrogator-commands \ plumbing-manipulator-commands plumbing-interrogator-commands \ aliases
2014-11-2333729: "git remote add" should complete local repositoriesPeter Stephenson1-1/+9
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.