From ce5c01d4b29a6323d761aca6659124a643577894 Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Thu, 8 Nov 2012 14:55:19 +0100 Subject: Fix script to add vim bundle Use git submodule update --rebase to prevent submodules to be in detached state. --- vim/add-plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/add-plugin.sh b/vim/add-plugin.sh index 05588d0..0d3ab86 100755 --- a/vim/add-plugin.sh +++ b/vim/add-plugin.sh @@ -11,4 +11,4 @@ fi cd $(dirname $0)/.. git submodule add $1 $(dirname $0)/vim/.vim/bundle/$2 git submodule init -git submodule update +git submodule update --rebase -- cgit v1.2.3-70-g09d2