aboutsummaryrefslogtreecommitdiff
path: root/bin/post-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/post-update')
-rwxr-xr-xbin/post-update1
1 files changed, 1 insertions, 0 deletions
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