diff options
author | Joey Hess <joeyh@joeyh.name> | 2024-04-18 14:23:05 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2024-04-18 14:23:38 -0400 |
commit | c410b2bb73345c19d18c7664fd9f48192c4aaa3a (patch) | |
tree | b73f2fd5220fe02f020277d1d6d40b8d6ee00df8 /Annex/View.hs | |
parent | b700c48b1551597d6ea82930f576841902e97178 (diff) |
annex.maxextensions configuration
Controls how many filename extensions to preserve.
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
Diffstat (limited to 'Annex/View.hs')
-rw-r--r-- | Annex/View.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/View.hs b/Annex/View.hs index 7372287380..482ce17c3a 100644 --- a/Annex/View.hs +++ b/Annex/View.hs @@ -387,7 +387,7 @@ prop_view_roundtrips (AssociatedFile Nothing) _ _ = True prop_view_roundtrips (AssociatedFile (Just f)) metadata visible = or [ B.null (P.takeFileName f) && B.null (P.takeDirectory f) , viewTooLarge view - , all hasfields (viewedFiles view (viewedFileFromReference' Nothing) (fromRawFilePath f) metadata) + , all hasfields (viewedFiles view (viewedFileFromReference' Nothing Nothing) (fromRawFilePath f) metadata) ] where view = View (Git.Ref "foo") $ |