aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-18 12:36:32 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-30 15:14:09 +0200
commit5f2feee680b4cb211def15f7480cc5933f6267b3 (patch)
tree64c374dc312f229a9fd8dc7f1e0446da4be5fe8d /.travis.yml
parent9ecd73d956198ea0c545db8769471e5ea8c8fb02 (diff)
git completion: Bring needs_command in line with git
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.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions