From 3dc08f5d4f9adc933e088b9fad3134bf90290b48 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 6 Jan 2016 16:14:51 -0400 Subject: [PATCH] fix test have to change the content of unlocked file before committing otherwise git commit will fail in v6 mode when the file was already unlocked, because no changes have been made --- Test.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Test.hs b/Test.hs index 4d541da8ef..e1c03d4c4d 100644 --- a/Test.hs +++ b/Test.hs @@ -625,6 +625,7 @@ test_partial_commit = intmpclonerepoInDirect $ do git_annex "get" [annexedfile] @? "get of file failed" annexed_present annexedfile git_annex "unlock" [annexedfile] @? "unlock failed" + changecontent annexedfile ifM (annexeval Annex.Version.versionSupportsUnlockedPointers) ( boolSystem "git" [Param "commit", Param "-q", Param "-m", Param "test", File annexedfile] @? "partial commit of unlocked file should be allowed in v6 repository"