Sha256: 1b18744609562cc129e69ee06aed67a6e6cf72814b1091c4480850d18022465b

Contents?: true

Size: 1.36 KB

Versions: 19

Compression:

Stored size: 1.36 KB

Contents

#!bash

# DO NOT EDIT. This file generated by pkg/bin/generate-completion.pl.

_git_subrepo() {
    local _opts=" -h --help --version -a --all -A --ALL -b= --branch= -e --edit -f --force -F --fetch -M= --method= --Default -m= --message= -N --dry-run -r= --remote= -s --squash -u --update -q --quiet -v --verbose -d --debug -x --DEBUG"
    local subcommands="branch clean clone clone clone commit commit commit config fetch fetch fetch help help help init pull pull pull push push push status status status upgrade version"
    local subdircommands="branch clean commit commit commit config fetch fetch fetch pull pull pull push push push status status status"
    local subcommand="$(__git_find_on_cmdline "$subcommands")"

    if [ -z "$subcommand" ]; then
        # no subcommand yet
        case "$cur" in
        -*)
            __gitcomp "$_opts"
        ;;
        *)
            __gitcomp "$subcommands"
        esac

    else

        case "$cur" in
        -*)
            __gitcomp "$_opts"
            return
        ;;
        esac

        if [[ "$subcommand" == "help" ]]; then
            __gitcomp "$subcommands"
            return
        fi

        local subdircommand="$(__git_find_on_cmdline "$subdircommands")"
        if [ ! -z "$subdircommand" ]; then
            local git_subrepos=`git subrepo status -q`
            __gitcomp "$git_subrepos"
        fi

    fi
}

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
avm-tools-0.53.0 vendor/git-subrepo/share/completion.bash
avm-tools-0.52.0 vendor/git-subrepo/share/completion.bash
avm-tools-0.51.0 vendor/git-subrepo/share/completion.bash
eac_launcher-0.8.0 vendor/git-subrepo/share/completion.bash
eac_launcher-0.7.0 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.8 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.7 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.6 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.5 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.4 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.3 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.2 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.1 vendor/git-subrepo/share/completion.bash
eac_launcher-0.6.0 vendor/git-subrepo/share/completion.bash
eac_launcher-0.5.1 vendor/git-subrepo/share/completion.bash
eac_launcher-0.5.0 vendor/git-subrepo/share/completion.bash
eac_launcher-0.4.0 vendor/git-subrepo/share/completion.bash
eac_launcher-0.3.2 vendor/git-subrepo/share/completion.bash
eac_launcher-0.3.1 vendor/git-subrepo/share/completion.bash