diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-06 16:14:51 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-06 16:14:51 -0400 |
commit | 1220fbfe7b9342c1e4f19f6b43c1019ccb56d7a8 (patch) | |
tree | c377eb4bd4c170c660d30b5559917577d4fe8eb4 /Test.hs | |
parent | f2832babba9cf01679a183e8dfad8ab0e6643953 (diff) |
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
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |