recurse submodules
This commit is contained in:
parent
6690c470e3
commit
582eb2508b
2 changed files with 5 additions and 5 deletions
|
|
@ -18,8 +18,8 @@ It was inspired by [[https://wiki.ros.org/wstool][wstool]], [[https://github.com
|
|||
|
||||
COMMANDS
|
||||
fetch Execute 'git fetch --prune --all' for all found repositories
|
||||
pull Execute 'git pull' for all found repositories which are behind
|
||||
upstream, includes 'gis fetch'
|
||||
pull Execute 'git pull --recurse-submodules' for all found repositories
|
||||
which are behind upstream, includes 'gis fetch'
|
||||
|
||||
OPTIONS
|
||||
-p, --path PATH Use PATH for searching Git repositories
|
||||
|
|
|
|||
6
gis
6
gis
|
|
@ -19,8 +19,8 @@ is set, the declared directories will be used instead.
|
|||
|
||||
COMMANDS
|
||||
fetch Execute 'git fetch --prune --all' for all found repositories
|
||||
pull Execute 'git pull' for all found repositories which are behind
|
||||
upstream, includes 'gis fetch'
|
||||
pull Execute 'git pull --recurse-submodules' for all found repositories
|
||||
which are behind upstream, includes 'gis fetch'
|
||||
|
||||
OPTIONS
|
||||
-p, --path PATH Use PATH for searching Git repositories
|
||||
|
|
@ -157,7 +157,7 @@ if [ "$pull" == true ]; then
|
|||
# Get repository name
|
||||
repository_name=$(basename "$dir")
|
||||
|
||||
git pull > >(trap 'kill $! 2> /dev/null' INT TERM; sed "s/^/${text_bold}${text_magenta}${repository_name}${text_reset} /") &
|
||||
git pull --recurse-submodules > >(trap 'kill $! 2> /dev/null' INT TERM; sed "s/^/${text_bold}${text_magenta}${repository_name}${text_reset} /") &
|
||||
pull_pids+=("$!")
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue