From 81fa804dd28916ec5b95fe1ce113020cf2785edb Mon Sep 17 00:00:00 2001 From: Fabio Gallonetto Date: Tue, 2 Apr 2013 15:12:24 +0200 Subject: [PATCH] Fix a bug that was causing .vim.after to be removed after update rake install/update was executing git clean with the -x flag that force the removal of ignored files. Since .vim.after was listed inside .gitignore, this was causing the file to be removed on each update. I don't think we need to remove ignored files since are all temporary or user-specific configuration files that should persist between updates. Fixes #225 --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 9562651..e37f33e 100644 --- a/Rakefile +++ b/Rakefile @@ -62,8 +62,8 @@ task :submodules do run %{ cd $HOME/.yadr - git submodule foreach 'git fetch origin; git checkout master; git reset --hard origin/master; git submodule update --recursive; git clean -dfx' - git clean -dfx + git submodule foreach 'git fetch origin; git checkout master; git reset --hard origin/master; git submodule update --recursive; git clean -df' + git clean -df } puts end