From 9c60afa1b965598222fe42cf7e08dfcf7da56e3b Mon Sep 17 00:00:00 2001 From: aviralg <aviral.goel@outlook.com> Date: Thu, 29 Oct 2015 05:55:20 +0530 Subject: [PATCH] The script now checkouts the correct branch --- update-repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-repository b/update-repository index 59fb7694..8d1aa952 100755 --- a/update-repository +++ b/update-repository @@ -3,4 +3,4 @@ # This script updates the repository and its subrepositories, recursively. git submodule update --init -git submodule foreach '[ "$path" = "moogli" ] && branch=geometry || branch=master; git pull origin $branch' +git submodule foreach '[ "$path" = "moogli" ] && branch=geometry || branch=master; git pull origin $branch; git checkout $branch' -- GitLab