From f00d0f9917cd605f27e29ab5d4cfcfc08bdcb3c2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Nov 2014 15:36:24 -0400 Subject: pre-commit: Block partial commit of unlocked annexed file, since that left a typechange staged in index I had hoped that the git devs could change git's handling of partial commits to not use a false index file, but seems not. So, this relies on some git internals to detect that case. The test suite has a test case added to catch it if changes to git break it. This commit was sponsored by Paul Tagliamonte. --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 3e0591b00..409d84326 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +git-annex (5.20141126) UNRELEASED; urgency=medium + + * pre-commit: Block partial commit of unlocked annexed file, since + that left a typechange staged in index due to some infelicity of git's + handling of partial commits. + + -- Joey Hess Mon, 10 Nov 2014 15:31:55 -0400 + git-annex (5.20141125) unstable; urgency=medium * Remove fixup code for bad bare repositories created by -- cgit v1.2.3