From: Cache Saravento Date: Fri, 7 Aug 2015 17:27:09 +0000 (-0300) Subject: Fix post-update for regular repos X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=258d52c61c5a5b63a79c7f4d8d53e9cfc7aebd9f;p=cache.git Fix post-update for regular repos --- diff --git a/bin/post-update b/bin/post-update index a45c29a..05eac5c 100755 --- a/bin/post-update +++ b/bin/post-update @@ -6,6 +6,7 @@ unset GIT_DIR if [ -d ".git/annex" ]; then git annex sync else + git reset HEAD git checkout . fi