From bb7ae286a06b14c35aacd762ed472fbafc0449b7 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Tue, 20 Dec 2011 15:29:03 +0800 Subject: [PATCH] updated git_submodule_rm task --- lib/git/tools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/git/tools.sh b/lib/git/tools.sh index ee7c21e..b8b1e7f 100644 --- a/lib/git/tools.sh +++ b/lib/git/tools.sh @@ -94,5 +94,6 @@ git_submodule_rm() { git config -f .git/config --remove-section "submodule.$1" git config -f .gitmodules --remove-section "submodule.$1" git add .gitmodules + rm -rf "$1" git rm --cached "$1" }