Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.127
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
libexec /
git-core /
Delete
Unzip
Name
Size
Permission
Date
Action
mergetools
[ DIR ]
drwxr-xr-x
2025-08-15 18:42
git
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-add
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-am
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-annotate
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-apply
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-archive
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-bisect
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-blame
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-branch
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-bugreport
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-bundle
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-cat-file
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-check-attr
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-check-ignore
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-check-mailmap
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-check-ref-format
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-checkout
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-checkout--worker
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-checkout-index
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-cherry
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-cherry-pick
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-clean
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-clone
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-column
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-commit
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-commit-graph
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-commit-tree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-config
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-contacts
4.4
KB
-rwxr-xr-x
2025-06-13 22:20
git-count-objects
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-credential
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-credential-cache
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-credential-cache--daemon
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-credential-netrc
10.69
KB
-rwxr-xr-x
2025-07-21 16:25
git-credential-store
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-describe
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-diagnose
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-diff
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-diff-files
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-diff-index
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-diff-tree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-difftool
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-difftool--helper
2.77
KB
-rwxr-xr-x
2025-07-21 16:25
git-fast-export
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-fast-import
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-fetch
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-fetch-pack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-filter-branch
15.49
KB
-rwxr-xr-x
2025-07-21 16:25
git-fmt-merge-msg
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-for-each-ref
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-for-each-repo
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-format-patch
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-fsck
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-fsck-objects
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-fsmonitor--daemon
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-gc
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-get-tar-commit-id
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-grep
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-hash-object
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-help
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-hook
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-http-backend
795.89
KB
-rwxr-xr-x
2025-07-21 16:25
git-http-fetch
874.36
KB
-rwxr-xr-x
2025-07-21 16:25
git-http-push
1.19
MB
-rwxr-xr-x
2025-07-21 16:25
git-imap-send
857.29
KB
-rwxr-xr-x
2025-07-21 16:25
git-index-pack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-init
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-init-db
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-interpret-trailers
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-log
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-ls-files
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-ls-remote
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-ls-tree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-mailinfo
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-mailsplit
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-maintenance
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-base
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-file
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-index
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-octopus
2.42
KB
-rwxr-xr-x
2025-07-21 16:25
git-merge-one-file
3.61
KB
-rwxr-xr-x
2025-07-21 16:25
git-merge-ours
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-recursive
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-resolve
1.2
KB
-rwxr-xr-x
2025-07-21 16:25
git-merge-subtree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-merge-tree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-mergetool
11.42
KB
-rwxr-xr-x
2025-07-21 16:25
git-mergetool--lib
10.48
KB
-rw-r--r--
2025-07-21 16:25
git-mktag
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-mktree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-multi-pack-index
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-mv
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-name-rev
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-notes
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-pack-objects
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-pack-redundant
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-pack-refs
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-patch-id
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-prune
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-prune-packed
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-pull
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-push
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-quiltimport
3.61
KB
-rwxr-xr-x
2025-07-21 16:25
git-range-diff
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-read-tree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-rebase
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-receive-pack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-reflog
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-refs
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-remote
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-remote-ext
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-remote-fd
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-remote-ftp
911.29
KB
-rwxr-xr-x
2025-07-21 16:25
git-remote-ftps
911.29
KB
-rwxr-xr-x
2025-07-21 16:25
git-remote-http
911.29
KB
-rwxr-xr-x
2025-07-21 16:25
git-remote-https
911.29
KB
-rwxr-xr-x
2025-07-21 16:25
git-repack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-replace
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-replay
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-request-pull
4.05
KB
-rwxr-xr-x
2025-07-21 16:25
git-rerere
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-reset
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-restore
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-rev-list
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-rev-parse
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-revert
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-rm
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-send-pack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-sh-i18n
1.64
KB
-rw-r--r--
2025-07-21 16:25
git-sh-i18n--envsubst
770.7
KB
-rwxr-xr-x
2025-07-21 16:25
git-sh-setup
8.2
KB
-rw-r--r--
2025-07-21 16:25
git-shell
770.68
KB
-rwxr-xr-x
2025-07-21 16:25
git-shortlog
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-show
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-show-branch
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-show-index
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-show-ref
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-sparse-checkout
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-stage
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-stash
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-status
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-stripspace
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-submodule
10.78
KB
-rwxr-xr-x
2025-07-21 16:25
git-submodule--helper
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-switch
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-symbolic-ref
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-tag
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-unpack-file
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-unpack-objects
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-update-index
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-update-ref
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-update-server-info
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-upload-archive
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-upload-pack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-var
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-verify-commit
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-verify-pack
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-verify-tag
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-version
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-web--browse
4.3
KB
-rwxr-xr-x
2025-07-21 16:25
git-whatchanged
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-worktree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
git-write-tree
4.06
MB
-rwxr-xr-x
2025-07-21 16:25
scalar
819.34
KB
-rwxr-xr-x
2025-07-21 16:25
Save
Rename
#!/usr/bin/sh # # git-submodule.sh: add, init, update or list git submodules # # Copyright (c) 2007 Lars Hjemli dashless=$(basename "$0" | sed -e 's/-/ /') USAGE="[--quiet] [--cached] or: $dashless [--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>] or: $dashless [--quiet] status [--cached] [--recursive] [--] [<path>...] or: $dashless [--quiet] init [--] [<path>...] or: $dashless [--quiet] deinit [-f|--force] (--all| [--] <path>...) or: $dashless [--quiet] update [--init [--filter=<filter-spec>]] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference <repository>] [--recursive] [--[no-]single-branch] [--] [<path>...] or: $dashless [--quiet] set-branch (--default|--branch <branch>) [--] <path> or: $dashless [--quiet] set-url [--] <path> <newurl> or: $dashless [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...] or: $dashless [--quiet] foreach [--recursive] <command> or: $dashless [--quiet] sync [--recursive] [--] [<path>...] or: $dashless [--quiet] absorbgitdirs [--] [<path>...]" OPTIONS_SPEC= SUBDIRECTORY_OK=Yes . git-sh-setup require_work_tree wt_prefix=$(git rev-parse --show-prefix) cd_to_toplevel # Tell the rest of git that any URLs we get don't come # directly from the user, so it can apply policy as appropriate. GIT_PROTOCOL_FROM_USER=0 export GIT_PROTOCOL_FROM_USER command= quiet= branch= force= reference= cached= recursive= init= require_init= files= remote= nofetch= rebase= merge= checkout= custom_name= depth= progress= dissociate= single_branch= jobs= recommend_shallow= filter= isnumber() { n=$(($1 + 0)) 2>/dev/null && test "$n" = "$1" } # # Add a new submodule to the working tree, .gitmodules and the index # # $@ = repo path # # optional branch is stored in global branch variable # cmd_add() { # parse $args after "submodule ... add". reference_path= while test $# -ne 0 do case "$1" in -b | --branch) case "$2" in '') usage ;; esac branch=$2 shift ;; -f | --force) force=$1 ;; -q|--quiet) quiet=1 ;; --progress) progress=1 ;; --reference) case "$2" in '') usage ;; esac reference_path=$2 shift ;; --reference=*) reference_path="${1#--reference=}" ;; --ref-format) case "$2" in '') usage ;; esac ref_format="--ref-format=$2" shift ;; --ref-format=*) ref_format="$1" ;; --dissociate) dissociate=1 ;; --name) case "$2" in '') usage ;; esac custom_name=$2 shift ;; --depth) case "$2" in '') usage ;; esac depth="--depth=$2" shift ;; --depth=*) depth=$1 ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done if test -z "$1" then usage fi git ${wt_prefix:+-C "$wt_prefix"} submodule--helper add \ ${quiet:+--quiet} \ ${force:+--force} \ ${progress:+"--progress"} \ ${branch:+--branch "$branch"} \ ${reference_path:+--reference "$reference_path"} \ ${ref_format:+"$ref_format"} \ ${dissociate:+--dissociate} \ ${custom_name:+--name "$custom_name"} \ ${depth:+"$depth"} \ -- \ "$@" } # # Execute an arbitrary command sequence in each checked out # submodule # # $@ = command to execute # cmd_foreach() { # parse $args after "submodule ... foreach". while test $# -ne 0 do case "$1" in -q|--quiet) quiet=1 ;; --recursive) recursive=1 ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper foreach \ ${quiet:+--quiet} \ ${recursive:+--recursive} \ -- \ "$@" } # # Register submodules in .git/config # # $@ = requested paths (default to all) # cmd_init() { # parse $args after "submodule ... init". while test $# -ne 0 do case "$1" in -q|--quiet) quiet=1 ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper init \ ${quiet:+--quiet} \ -- \ "$@" } # # Unregister submodules from .git/config and remove their work tree # cmd_deinit() { # parse $args after "submodule ... deinit". deinit_all= while test $# -ne 0 do case "$1" in -f|--force) force=$1 ;; -q|--quiet) quiet=1 ;; --all) deinit_all=t ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper deinit \ ${quiet:+--quiet} \ ${force:+--force} \ ${deinit_all:+--all} \ -- \ "$@" } # # Update each submodule path to correct revision, using clone and checkout as needed # # $@ = requested paths (default to all) # cmd_update() { # parse $args after "submodule ... update". while test $# -ne 0 do case "$1" in -q|--quiet) quiet=1 ;; -v|--verbose) quiet=0 ;; --progress) progress=1 ;; -i|--init) init=1 ;; --require-init) require_init=1 ;; --remote) remote=1 ;; -N|--no-fetch) nofetch=1 ;; -f|--force) force=$1 ;; -r|--rebase) rebase=1 ;; --ref-format) case "$2" in '') usage ;; esac ref_format="--ref-format=$2" shift ;; --ref-format=*) ref_format="$1" ;; --reference) case "$2" in '') usage ;; esac reference="--reference=$2" shift ;; --reference=*) reference="$1" ;; --dissociate) dissociate=1 ;; -m|--merge) merge=1 ;; --recursive) recursive=1 ;; --checkout) checkout=1 ;; --recommend-shallow) recommend_shallow="--recommend-shallow" ;; --no-recommend-shallow) recommend_shallow="--no-recommend-shallow" ;; --depth) case "$2" in '') usage ;; esac depth="--depth=$2" shift ;; --depth=*) depth=$1 ;; -j|--jobs) case "$2" in '') usage ;; esac jobs="--jobs=$2" shift ;; --jobs=*) jobs=$1 ;; --single-branch) single_branch="--single-branch" ;; --no-single-branch) single_branch="--no-single-branch" ;; --filter) case "$2" in '') usage ;; esac filter="--filter=$2" shift ;; --filter=*) filter="$1" ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper update \ ${quiet:+--quiet} \ ${force:+--force} \ ${progress:+"--progress"} \ ${remote:+--remote} \ ${recursive:+--recursive} \ ${init:+--init} \ ${nofetch:+--no-fetch} \ ${rebase:+--rebase} \ ${merge:+--merge} \ ${checkout:+--checkout} \ ${ref_format:+"$ref_format"} \ ${reference:+"$reference"} \ ${dissociate:+"--dissociate"} \ ${depth:+"$depth"} \ ${require_init:+--require-init} \ ${dissociate:+"--dissociate"} \ $single_branch \ $recommend_shallow \ $jobs \ $filter \ -- \ "$@" } # # Configures a submodule's default branch # # $@ = requested path # cmd_set_branch() { default= branch= while test $# -ne 0 do case "$1" in -q|--quiet) # we don't do anything with this but we need to accept it ;; -d|--default) default=1 ;; -b|--branch) case "$2" in '') usage ;; esac branch=$2 shift ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper set-branch \ ${quiet:+--quiet} \ ${branch:+--branch "$branch"} \ ${default:+--default} \ -- \ "$@" } # # Configures a submodule's remote url # # $@ = requested path, requested url # cmd_set_url() { while test $# -ne 0 do case "$1" in -q|--quiet) quiet=1 ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper set-url \ ${quiet:+--quiet} \ -- \ "$@" } # # Show commit summary for submodules in index or working tree # # If '--cached' is given, show summary between index and given commit, # or between working tree and given commit # # $@ = [commit (default 'HEAD'),] requested paths (default all) # cmd_summary() { summary_limit=-1 for_status= diff_cmd=diff-index # parse $args after "submodule ... summary". while test $# -ne 0 do case "$1" in --cached) cached=1 ;; --files) files="$1" ;; --for-status) for_status="$1" ;; -n|--summary-limit) summary_limit="$2" isnumber "$summary_limit" || usage shift ;; --summary-limit=*) summary_limit="${1#--summary-limit=}" isnumber "$summary_limit" || usage ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper summary \ ${files:+--files} \ ${cached:+--cached} \ ${for_status:+--for-status} \ ${summary_limit:+-n $summary_limit} \ -- \ "$@" } # # List all submodules, prefixed with: # - submodule not initialized # + different revision checked out # # If --cached was specified the revision in the index will be printed # instead of the currently checked out revision. # # $@ = requested paths (default to all) # cmd_status() { # parse $args after "submodule ... status". while test $# -ne 0 do case "$1" in -q|--quiet) quiet=1 ;; --cached) cached=1 ;; --recursive) recursive=1 ;; --) shift break ;; -*) usage ;; *) break ;; esac shift done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper status \ ${quiet:+--quiet} \ ${cached:+--cached} \ ${recursive:+--recursive} \ -- \ "$@" } # # Sync remote urls for submodules # This makes the value for remote.$remote.url match the value # specified in .gitmodules. # cmd_sync() { while test $# -ne 0 do case "$1" in -q|--quiet) quiet=1 shift ;; --recursive) recursive=1 shift ;; --) shift break ;; -*) usage ;; *) break ;; esac done git ${wt_prefix:+-C "$wt_prefix"} submodule--helper sync \ ${quiet:+--quiet} \ ${recursive:+--recursive} \ -- \ "$@" } cmd_absorbgitdirs() { git ${wt_prefix:+-C "$wt_prefix"} submodule--helper absorbgitdirs "$@" } # This loop parses the command line arguments to find the # subcommand name to dispatch. Parsing of the subcommand specific # options are primarily done by the subcommand implementations. # Subcommand specific options such as --branch and --cached are # parsed here as well, for backward compatibility. while test $# != 0 && test -z "$command" do case "$1" in add | foreach | init | deinit | update | set-branch | set-url | status | summary | sync | absorbgitdirs) command=$1 ;; -q|--quiet) quiet=1 ;; --cached) cached=1 ;; --) break ;; -*) usage ;; *) break ;; esac shift done # No command word defaults to "status" if test -z "$command" then if test $# = 0 then command=status else usage fi fi # "--cached" is accepted only by "status" and "summary" if test -n "$cached" && test "$command" != status && test "$command" != summary then usage fi "cmd_$(echo $command | sed -e s/-/_/g)" "$@"