summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
Commit message (Collapse)AuthorAgeFilesLines
* 36900: _git: stash names completion: Display log messagesDaniel Shahaf2015-10-201-2/+11
| | | | | | | The "$@" argument to compadd is removed because (I think) it contains a -J, which conflicts with the -V. Joint with Daniel Hahler.
* 36722: allow git range to complete after ^.Peter Stephenson2015-10-011-1/+8
| | | | Take account of backslash quoting.
* 36441: _git: Fixed typo in --author-date-order descriptionJames Clarke2015-09-071-1/+1
|
* 36353: _git: Unbreak after previous.Daniel Shahaf2015-09-011-1/+1
|
* 36328 + 36340: _git-cherry-pick: Complete other branches onlyMateusz Karbowy2015-08-301-14/+52
|
* 36304: _git-cat-file: Fix regression in 36237Daniel Shahaf2015-08-271-0/+1
| | | | This broke 'git cat-file blob origin:Etc/<TAB>'.
* 36277: _git: Updated for git-clone 2.4.5.Daniel Shahaf2015-08-241-2/+5
|
* 36247: __git_objects: Complete HEAD:./foo correctly in worktree subdirDaniel Shahaf2015-08-191-1/+5
|
* 36237: __git_objects: Complete HEAD:foo correctly in worktree subdirDaniel Shahaf2015-08-191-2/+13
|
* 36236: _git-log: Complete multiple revspecsDaniel Shahaf2015-08-191-0/+5
| | | | e.g., git log origin/master origin/foo origin/bar
* 36236: _git-log: complete 'git rm'd filesDaniel Shahaf2015-08-191-3/+3
|
* 36148: _git-log: Complete flags after positional argumentOliver Kiddle2015-08-191-25/+23
|
* Wieland Hoffmann: 36123: protect against word splitting in ↵Wieland Hoffmann2015-08-131-2/+2
| | | | __git_is_committish_range
* 36127: assorted minor completion function changesOliver Kiddle2015-08-121-2/+3
|
* 36116: _git: various fixesMikael Magnusson2015-08-121-5/+5
| | | | | | | Add = to git checkout --conflict= completion fix transposed [- git push remote argument is not optional can use shorter syntax for a check
* 35970: completion: fix typos in _git and _brace_parameterDaniel Hahler2015-08-021-2/+2
|
* 35779: completion: _git-config: remove extraneous "local expl"Daniel Hahler2015-07-131-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.
* 35510: use consistent formatting for git subcommandsOliver Kiddle2015-06-181-83/+33
|
* 35504: complete % placeholders for git log --formatOliver Kiddle2015-06-181-10/+90
|
* 35216: _git-checkout: do not call __git_commits twiceDaniel Hahler2015-06-081-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.
* 35098: completion: git: provide --amend also with "message" groupDaniel Hahler2015-05-291-2/+2
| | | | | Especially during a git rebase, you would use `git commit -m foo --amend`.
* 35315: replace inappropriate uses of _path_commandsOliver Kiddle2015-05-281-45/+42
|
* 35261: completion: git: __git_recent_commits: local retDaniel Hahler2015-05-221-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 --
* 35224: completion: git: Add fast-export --signed-tags=warn-stripDaniel Shahaf2015-05-191-1/+2
|
* 35217: add missing changelog entry; use "-O expl" with _alternativeDaniel Hahler2015-05-191-1/+1
|
* 35217: completion: git: send-email: complete (recent) commitsDaniel Hahler2015-05-191-1/+3
| | | | | This adds `__git_commit_objects_prefer_recent` as alternative for git-send-email's completion.
* __git_commit_objects: do not use _guard, but only a patternDaniel Hahler2015-05-191-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.
* Completion/Unix/Command/_git: remove -2 with __git_recent_commitsDaniel Hahler2015-05-191-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
* 35204: fix broken __git_recent_commits from previous commitDaniel Hahler2015-05-191-1/+1
| | | | This fixes 1e7bb4a: newlines need to be kept (from the "%d" part).
* 35164: fix __git_commit_objects/__git_recent_commitsDaniel Hahler2015-05-191-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.
* users/20222: completion: git: Add matchspec for headsDaniel Shahaf2015-05-191-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 '**'.
* 35105: completion: git: add distance_from_head to __git_recent_commitsDaniel Shahaf2015-05-181-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)
* 35106: completion: git: unique name for __git_recent_commitsDaniel Hahler2015-05-181-1/+1
| | | | This helps to distinguish it from __git_commit_objects.
* 35103: completion: git: add %cr to commit objects (all and recent)Daniel Hahler2015-05-181-2/+2
|
* 35104: completion: git: __git_commit_objects: query 1000 commitsDaniel Hahler2015-05-181-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.
* 35101: completion: git: add __git_commit_objects_prefer_recentDaniel Hahler2015-05-181-1/+6
| | | | | This is used with __git_commits then, and is meant to only call __git_recent_commits, if there are matches.
* 35100: __git_recent_commits: massage ' ->*' from headsDaniel Hahler2015-05-181-0/+2
| | | | | Handle " -> master, origin/master" in decorated git-log output, and add it as separate entries.
* completion: git: add missing return to __git_recent_commitsDaniel Hahler2015-05-171-0/+1
|
* 35161: completion: git: Fix typo in 35061Daniel Shahaf2015-05-161-1/+1
|
* users/20219: fix completion for git optionsOliver Kiddle2015-05-151-2/+2
|
* 35062: __git_setup_revision_options includes __git_setup_diff_optionsDaniel Hahler2015-05-141-4/+1
|
* 35061: add __git_setup_diff_stage_options and use it with _git-diff-files ↵Daniel Hahler2015-05-141-6/+16
| | | | and _git-diff explicitly
* 35016: introduce new pretty formats %g[sdD] for reflog informationDaniel Hahler2015-05-141-1/+1
|
* 35060 + 35072: completion: git: split __git_heads into local and remoteDaniel Hahler2015-05-121-2/+18
| | | | | | | It is useful to have this distinction visually. This also uses `--format=%(refname:short)` directly with `git for-each-ref`.
* 34886: completion: git: Complete rebase --exec argumentDaniel Shahaf2015-04-131-1/+1
|
* 34885: completion: git: Sort "commit object" completions most recent firstDaniel Shahaf2015-04-131-1/+1
|
* 34885: completion: git: Fix another instance of the 34671 bug fixed in 34814Daniel Shahaf2015-04-131-1/+3
|
* 34748: completion: git: update list of builtintoolsDaniel Hahler2015-04-101-9/+16
|
* 34814: completion: git: Fix bug introduced by 236da69Daniel Shahaf2015-04-011-1/+3
| | | | Based on a patch by Daniel Hahler <git@thequod.de>.
* 34762: completion: git: add short option for '--dir-diff' (_git-difftool)Daniel Hahler2015-03-291-1/+1
|