summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-07-13 17:41:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-07-13 17:41:36 +0200
commit06004750f10aef75bcb5ddb3558d7d1fd65f5711 (patch)
treea1bd09a99991f893ca5094de1771978f76b36443
parent8da3e51fa60df36936066e18e387394dbb6d0f25 (diff)
Call vcs_update_submodules only after running git pull
-rwxr-xr-xbin/ct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ct b/bin/ct
index d36a2c8..403c353 100755
--- a/bin/ct
+++ b/bin/ct
@@ -273,6 +273,7 @@ function vcs_pull (
} else {
vcs_branch_is_master ${1} && git pull $(list_get_uri ${1}) master
}
+ vcs_update_submodules
)
function vcs_push (
@@ -458,7 +459,6 @@ function global_hook {
;;
post-update)
triggers+=${1}
- vcs_update_submodules ${1}
check_prereqs ${1}
if [[ -r Makefile ]] {
info "${1}: Running make\n"