about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
Commit message (Collapse)AuthorAgeFilesLines
* 38393: _git: Fix typo in completion of '--minimal'Russell Currey2016-05-031-1/+1
| | | | Signed-off-by: Russell Currey <ruscur@russell.cc>
* _git: Complete fetchy refspecs correctly.Daniel Shahaf2016-05-011-2/+13
|
* _git: Bifurcate __git_ref_specs.Daniel Shahaf2016-05-011-10/+24
| | | | | No functional change, except for completion of 'git bundle' and 'git config branch.*.merge'; this is a required groundwork for future patches.
* _git: Fix an apparent typo in __git_heads().Daniel Shahaf2016-05-011-2/+2
| | | | | I couldn't reproduce different behaviour with and without this patch, although the called command's output differs.
* _git: Offer alternatives properly.Daniel Shahaf2016-05-011-2/+1
|
* _git-bundle: Complete required file argument to 'git bundle' correctly.Daniel Shahaf2016-05-011-0/+1
|
* 38316: _git-rebase: Complete any committish for the second argumentDaniel Shahaf2016-04-231-1/+1
|
* 38255: _git: Fix argument pastedness.Daniel Shahaf2016-04-091-43/+43
| | | | | | Found by searching for /-\w\>.*:/. This covers short options only, from the top of file through _git-tag().
* 38182: _git: Invoke reflog completion from the 'complete commit objects' ↵Daniel Shahaf2016-03-211-3/+10
| | | | | | codepath. The reflog will only be used if the user has typed as "@" by hand.
* 38181: _git reflog: Complete '@{N}' instead of 'HEAD@{N}'.Daniel Shahaf2016-03-211-0/+1
| | | | | The «HEAD@{...}» syntax is no longer completed, since it's not easily possible to support both syntaxes (workers/34768).
* 38180: _git: Improve reflog completion.Daniel Shahaf2016-03-211-2/+2
| | | | Currently, only used by «git reflog delete <TAB>».
* 38151: _git: fix tag name of remote branchesm0viefreak2016-03-151-1/+1
|
* 38148: _git: reflog: complete references next to commandsm0viefreak2016-03-151-1/+3
| | | | | | | | 'git reflog show' is the default subcommand, so git reflog <tab> should complete subcommands and references.
* 38129: _git: Fix __git_ignore_line's treatment of shell and pattern ↵Daniel Shahaf2016-03-111-3/+3
| | | | | | | | metacaracters. Builds upon a patch by Jun T. Also upgrade/fix __git_pattern_escape.
* 38128: _git: Fix completion of diffs against the index when treeish isn't ↵Daniel Shahaf2016-03-101-1/+2
| | | | | | shell-safe This affects 'git diff --cached -- <TAB>' and 'git reset $treeish <TAB>'.
* 38123 (after 38074): _git reset $treeish: complete only staged filesDaniel Shahaf2016-03-101-36/+20
|
* 38120: _git: Document the internal helper function __git_ignore_line.Daniel Shahaf2016-03-091-0/+10
|
* 38074: _git reset HEAD: complete only staged filesJun-ichi Takimoto2016-03-081-1/+28
|
* 37924: Completion: _git: Complete files for 'check-ignore'Daniel Shahaf2016-02-091-1/+1
| | | | | Also, don't leak the parameter 'ret'; the leak was theoretical because the caller immediately wrote to that parameter.
* 37703: Completion: git: Also complete sendmail commands for send-email's ↵Daniel Shahaf2016-01-231-2/+2
| | | | configuration. (after 37666)
* 37666: Completion: git: 'send-email --smtp-server=' takes absolute path to ↵Daniel Shahaf2016-01-201-1/+6
| | | | sendmail.
* 37665: Completion: New helper _absolute_command_paths.Daniel Shahaf2016-01-201-4/+4
|
* 37150: _git: Autocomplete .. for commit rangesDaniel Shahaf2015-12-051-3/+3
| | | | | | | | | | | | | | | | This patch makes three changes: - Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the ".." being autoremovable. This is implemented by the first hunk. That hunk is a functional subset of Oliver's users/20705, however, the latter hasn't been committed. - Make typing "^" remove the "..", in light of the syntax "foo^..bar". - Make typing "." _not_ remove the ".." but simply append it, since "foo...bar" is a valid and useful syntax.
* 36957: _git: Apply matchspecs to filename completion such as 'git log ↵Daniel Shahaf2015-12-051-1/+1
| | | | | | | f/b<TAB>' → 'foo/bar.txt's This patch makes 'git log S/e<TAB>' expand to Src/exec.c. The incumbent code would run 'git ls-tree S/' and find no matches.
* 37149: _git: Complete 'bisect/bad' refDaniel Shahaf2015-11-201-0/+1
|
* 37129: _git: Complete 'commit -p'Daniel Shahaf2015-11-171-1/+1
|
* 37115: update for changes in ${(P)...} evaluation.Barton E. Schaefer2015-11-141-1/+1
|
* 37031: _git-merge: Exclude ancestors of HEAD from recent commit completionDaniel Shahaf2015-11-131-1/+2
| | | | As done for _git-cherry-pick in a428c6b62cb2 (36328 + 36340).
* 37062: tentative mechanism for git commit descriptions.Peter Stephenson2015-11-041-9/+33
| | | | | Mechanism for forcing completion system into verbose mode is subject to change.
* 37032: Temporarily revert 36959.Daniel Shahaf2015-10-311-1/+4
|
* 36962: _git: Fix completion of RHS of refspecs.Daniel Shahaf2015-10-251-1/+2
| | | | | | Before this patch, 'git push $remote :<TAB>' completed branch names (as though by `git branch -a`), instead of completing remote branch names sans the ${remote}/ prefix.
* 36964: _git: Complete remotes branch names with slashes correctly.Daniel Shahaf2015-10-251-1/+1
| | | | For example, 'git push remote HEAD:foo/bar' creates such branches.
* 36960: _git: Enable slash matcher for more branch and tag completions, ↵Daniel Shahaf2015-10-251-3/+3
| | | | include 'git branch <TAB>' and 'git tag <TAB>'.
* 36959: _git: Offer @~$n as completion of recent commits.Daniel Shahaf2015-10-251-1/+2
| | | | Suggested-by: Oliver Kiddle (users/20705)
* 36958: _git: Fix recent commit completion descriptions.Daniel Shahaf2015-10-251-12/+29
| | | | | | The uniquifiers 'HEAD~$n' were incorrect when a recent commit was the second parent of a merge commit. Detect that case and print something correct instead.
* unposted: _git: Fix 'commit object name' completion messages.Daniel Shahaf2015-10-251-2/+2
| | | | | | | | Offer the "this alternative is still valid, but I don't know to offer completions for it" for hash completion but not for recent object completion; the former is protected by a _guard and the latter incorrectly appeared also in cases such as 'git log a/b<TAB>' which were not the start of a gitrevisions(7) expression.
* 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
|