From a83cf9446a1d518f2b8a6c81035e5b0904da6f69 Mon Sep 17 00:00:00 2001 From: Eragos Date: Thu, 4 Aug 2016 22:20:17 +0200 Subject: [PATCH] move udot submodule update after git pull --- functions | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/functions b/functions index d41c0c5..757741f 100644 --- a/functions +++ b/functions @@ -19,11 +19,6 @@ udot() { echo -e "$info" echo -e "" - echo -e "Update submodules..." - git submodule init - git submodule update - echo -e "" - if [ -z "$status" ]; then echo -e "Local changes:" echo -e "$gstatus" @@ -41,6 +36,10 @@ udot() { cd $cwd fi echo -e "" + echo -e "Update submodules..." + git submodule init + git submodule update + echo -e "" } # will attach to existing tmux session, create new if one does not exist or just start bash if there is no tmux available.