repair: Fix handling of git ref names on Windows
Sponsored-by: Kevin Mueller on Patreon
This commit is contained in:
parent
9ca81ed02a
commit
5070087a63
4 changed files with 14 additions and 1 deletions
6
Test.hs
6
Test.hs
|
@ -354,6 +354,7 @@ repoTests note numparts = map mk $ sep
|
|||
, testCase "required_content" test_required_content
|
||||
, testCase "add subdirs" test_add_subdirs
|
||||
, testCase "addurl" test_addurl
|
||||
, testCase "repair" test_repair
|
||||
]
|
||||
where
|
||||
mk l = testGroup groupname (initTests : map adddep l)
|
||||
|
@ -2091,3 +2092,8 @@ test_transition_propagation_reversion =
|
|||
emptylog
|
||||
where
|
||||
emptylog = git_annex_expectoutput "log" [wormannexedfile] []
|
||||
|
||||
test_repair :: Assertion
|
||||
test_repair = intmpclonerepo $
|
||||
-- Simply running repair used to fail on Windows.
|
||||
git_annex "repair" [] "repair"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue