unlock: Don't allow unlocking files that have never been committed to git before

Avoids an intractable problem that prevents the pre-commit hook from
telling if such a file is intended to be an annexed file or not.
This commit is contained in:
Joey Hess 2015-01-02 13:48:56 -04:00
parent 7294439e1f
commit fd55563b02
3 changed files with 57 additions and 18 deletions

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
git-annex (5.20141232) UNRELEASED; urgency=medium
* unlock: Don't allow unlocking files that have never been committed to git
before, to avoid an intractable problem that prevents the pre-commit
hook from telling if such a file is intended to be an annexed file or not.
-- Joey Hess <id@joeyh.name> Fri, 02 Jan 2015 13:35:13 -0400
git-annex (5.20141231) unstable; urgency=medium
* vicfg: Avoid crashing on badly encoded config data.