aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
Commit message (Collapse)AuthorAge
* git completions: Only take general options before commandGravatar Fabian Homborg2016-06-04
|
* git completions: Ignore stderr everywhereGravatar Fabian Homborg2016-06-04
| | | | | | This allows us to run git commands outside of a git repo. Fixes #3114.
* Add completions for git blame command (#3094)Gravatar Hunsu2016-06-02
|
* git completions: Add general optionsGravatar Fabian Homborg2016-05-29
| | | | | | These are the options between `git` and the subcommand. Fixes #3087.
* Implement src:dest for git push completionGravatar Fabian Homborg2016-05-19
| | | | | | | This allows specifying a local branch to push to a certain remote branch. Fixes #3035.
* git: Complete reflog for resetGravatar Fabian Homborg2016-05-13
|
* Indent git completionGravatar Fabian Homborg2016-05-11
| | | | It's about time I finally fixed my emacs config.
* git completion: Complete commits for cherry-pick if at least threeGravatar Fabian Homborg2016-05-11
| | | | characters are given
* git completion: Fix option-before-command for stashGravatar Fabian Homborg2016-05-11
| | | | | Because it allows sub-subcommands, it has functions to determine which, if any, is used. These were too simplistic.
* git completion: More stringificationGravatar Fabian Homborg2016-05-11
|
* git completion: Allow --pretty for more commandsGravatar Fabian Homborg2016-05-11
| | | | This _should_ be all of them.
* git completion: Allow more than one arg to using_commandGravatar Fabian Homborg2016-05-11
| | | | | | Now we can easily add an option to multiple commmands. This should also fix some edgecases.
* git completion: Show commits for revert and tag --containsGravatar Fabian Homborg2016-05-11
|
* Add git commit --fixup completions (#3021)Gravatar Terje Larsen2016-05-11
|
* Add tags to completion list for git show. (#2998)Gravatar Daniel Bergmann2016-05-07
|
* git completion: Allow optional "+" for pushGravatar Fabian Homborg2016-04-30
| | | | | | | | This signifies a force-push. To avoid cluttering, only complete branches if a + is already given. Fixes #2879.
* Add repository/refspec completion to gitGravatar Fabian Homborg2016-04-30
| | | | | | | A few commands (fetch, pull and push at least) take a "repository" (aka "remote") and then a "refspec" (we currently do branches here). Fixes #2525 (seems that man is still alive)
* git takes --help even when it needs a command (#2984)Gravatar Sanne Wouda2016-04-29
| | | `git --help` is a valid command and fish should complete it as such
* git completion: Only show unmerged branches for cherry-pickGravatar Fabian Homborg2016-04-28
|
* switch to newer flag --set-upstream-to for git (#2982)Gravatar Cody Scott2016-04-28
| | | | | | | set-upstream was deprecated in git 1.8.0 as stated in [1] in favor of set-upstream-to. this patch replaces the old flag in fish completions [1]: https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.8.0.txt
* Stringify many completions and functions, with --invert stringification.Gravatar Aaron Gyes2016-04-08
| | | | | | | | I believe apm must have been buggy - example output that I found online showed `tr` was mangling paths with spaces in it. Should be fixed. Also, use dscl on OS X in __fish_complete_users.fish like __fish_print_users.fish already does.
* Add `--no-index` option completion for `git diff`Gravatar Cody Frazer2016-03-20
|
* git completion: Complete commits for all branchesGravatar Fabian Homborg2015-12-30
|
* git completions: Add commit hashes for `show`Gravatar Fabian Homborg2015-12-18
| | | | | | | | | | That's probably the part where commit hashes are most used, we can add the other subcommands later. This generates a _lot_ of options, so hooking it up everywhere would be unwise, though our pager helps quite nicely with filtering - typing "Branch" will filter out the commits, and typing other things will filter the subjects, which is quite cool.
* git completions: add missing description flagsGravatar David Adam2015-12-11
| | | | Fixes syntax error introduced in 4280df3aa2dab.
* git: Add missing options to `git clone`Gravatar mr.Shu2015-12-10
| | | | | | | | * Add missing options to `git clone` in order to make the suggestions as similar to the manual (https://git-scm.com/docs/git-clone) as possible. Signed-off-by: mr.Shu <mr@shu.io>
* git: Add more options to `git cherry-pick`Gravatar mr.Shu2015-12-08
| | | | | | | * Add more options to `git cherry-pick` so that the suggested options mimic the man page (https://www.git-scm.com/docs/git-cherry-pick/). Signed-off-by: mr.Shu <mr@shu.io>
* git: Improve completion for git remoteGravatar mr.Shu2015-11-29
| | | | | | | | | | * Make sure that the `git remote` subcommands are not repeatedly suggested (that is do not suggest a subcommand if there already is one). * Add both long and short options to `git remote` subcommands where appropriate. Signed-off-by: mr.Shu <mr@shu.io>
* git: Add missing remote subcommands completionGravatar mr.Shu2015-11-28
| | | | | | | | * Add completion for missing `git remote` subcommands. * Should fix #2567 Signed-off-by: mr.Shu <mr@shu.io>
* git: Complete subcommands for git submodule foreachGravatar Fabian Homborg2015-10-20
|
* git: Disable submodule subcommand completion if one is already givenGravatar Fabian Homborg2015-10-20
|
* Fix git submodule completionsGravatar Fabian Homborg2015-10-20
| | | | Fixes #2494
* git completion: Allow branches with "/" in them as unique remote branchesGravatar Fabian Homborg2015-10-16
|
* git completion: Complete files relative to repo-rootGravatar Fabian Homborg2015-10-06
| | | | | | | | Not for _everything_ because that causes too many options to be generated (which is an issue for git as it is), but for modified, staged and added files - which is where it is most useful. Fixes #901 as far as I'm concerned.
* git completion: Bring needs_command in line with gitGravatar Fabian Homborg2015-09-30
| | | | | | | | | | | git has options that can appear before commands, but not all of them, and some of them need an argument. This means `__fish_seen_subcommand_from` will give too many false-positives, while `[ (count $cmd) -eq 2 ]` will give too many false-negatives. Instead go through all arguments and check if they are in that list of options that can be before a command and skip the argument for them, if any.
* git completion: Describe aliases with their definitionsGravatar Fabian Homborg2015-09-22
| | | | I could have sworn we had this already.
* git completions: Switch more to `string`Gravatar Fabian Homborg2015-09-22
|
* git completion: Rewrite __fish_git_ranges with the string stuffGravatar Fabian Homborg2015-09-22
| | | | | | Cuts down on perl. Also complete heads (i.e. tags and branches) always.
* git completions: Add remote branches with only one remoteGravatar Fabian Homborg2015-09-22
| | | | Fixes #675
* git completion: Don't check $cmd[1]Gravatar Fabian Homborg2015-09-10
| | | | Before we do anything else, remove this senseless piece of code
* git: Add more options for format-patch and submoduleGravatar Fabian Homborg2015-09-10
| | | | | | Not all of them and only those that don't accept arguments for now Fixes #1996
* git completion: Ignore stderr for all commandsGravatar Fabian Homborg2015-09-10
| | | | Might print unrelated crap if we try to complete while not in a git repository
* Rename sgrep to __fish_sgrepGravatar Fabian Homborg2015-09-09
| | | | Makes it harder to cause issues with aliases, see fish-shell#2245
* Complete tags for git-tag onlyGravatar Jan Ernsting2015-09-07
|
* Ensure display of modified files for git commitGravatar Jan Ernsting2015-09-07
|
* Add missing descriptionGravatar Jan Ernsting2015-09-07
| | | | git reset allows for files and branches as completion results
* Add file completion for git-resetGravatar Jan Ernsting2015-09-07
| | | | Staged files are now offered for completion
* Add completion for git-commitGravatar Jan Ernsting2015-09-07
| | | | Modified files are provided for completion
* Add completions for git-filter-branchGravatar John Pham2015-05-23
|
* Added some common completionsGravatar Trenton Broughton2015-02-19
| | | | * Added completion for `git branch --merged` * Added completion for `git branch --no-merged`