From a984a2fd022fbbaf1159d4d2f4774a641b3246b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Wed, 11 Sep 2013 10:36:06 +0200 Subject: [PATCH] fix huge bug with update.sh It deletes the content of the .git directory --- update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 9ab2904..72d5a88 100755 --- a/update.sh +++ b/update.sh @@ -8,6 +8,7 @@ main() then echo "This script is supposed to be run at the root of a git repository" >&2 fi - rsync -avzC --exclude="update.sh" $PROGDIR/ .git --delete + rsync -avzC --exclude="update.sh" $PROGDIR/hooks/ .git/hooks --delete + rsync -avzC --exclude="update.sh" $PROGDIR/ .git } main