aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCache Saravento <cache@sarava.org>2015-08-07 14:27:09 -0300
committerCache Saravento <cache@sarava.org>2015-08-07 14:27:09 -0300
commit258d52c61c5a5b63a79c7f4d8d53e9cfc7aebd9f (patch)
treedffb6845a9977de631da022ab981d3195c0b2f19
parent1a3c8c0e1ba72ff8424e584e3f5cd7cb0ff2acaf (diff)
downloadcache-258d52c61c5a5b63a79c7f4d8d53e9cfc7aebd9f.tar.gz
cache-258d52c61c5a5b63a79c7f4d8d53e9cfc7aebd9f.tar.bz2
Fix post-update for regular repos
-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