diff options
author | 2014-10-09 14:53:13 -0400 | |
---|---|---|
committer | 2014-10-09 15:09:11 -0400 | |
commit | a26b7127d4cc8b2a5e15ef662ab2793dbf9e7919 (patch) | |
tree | 95fb3ff9231bffe68f99b02d872ee308b40d0bc8 /Types | |
parent | be9989b76db21772118f8893ea00d22b6365d301 (diff) |
fix some mixed space+tab indentation
This fixes all instances of " \t" in the code base. Most common case
seems to be after a "where" line; probably vim copied the two space layout
of that line.
Done as a background task while listening to episode 2 of the Type Theory
podcast.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Key.hs | 2 | ||||
-rw-r--r-- | Types/MetaData.hs | 2 | ||||
-rw-r--r-- | Types/StandardGroups.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Types/Key.hs b/Types/Key.hs index 5bb41e15f..da9ff494a 100644 --- a/Types/Key.hs +++ b/Types/Key.hs @@ -133,7 +133,7 @@ prop_idempotent_key_decode f | normalfieldorder = maybe True (\k -> key2file k == f) (file2key f) | otherwise = True where - -- file2key will accept the fields in any order, so don't + -- file2key will accept the fields in any order, so don't -- try the test unless the fields are in the normal order normalfieldorder = fields `isPrefixOf` "smSC" fields = map (f !!) $ filter (< length f) $ map succ $ diff --git a/Types/MetaData.hs b/Types/MetaData.hs index 8df56734d..f19e0b439 100644 --- a/Types/MetaData.hs +++ b/Types/MetaData.hs @@ -290,4 +290,4 @@ prop_metadata_serialize f v m = and , deserialize (serialize m') == Just m' ] where - m' = removeEmptyFields m + m' = removeEmptyFields m diff --git a/Types/StandardGroups.hs b/Types/StandardGroups.hs index 37ba6e9c6..66c1dd5ef 100644 --- a/Types/StandardGroups.hs +++ b/Types/StandardGroups.hs @@ -96,7 +96,7 @@ standardPreferredContent UnwantedGroup = "exclude=*" notArchived :: String notArchived = "not (copies=archive:1 or copies=smallarchive:1)" - + {- Most repositories want any content that is only on untrusted - or dead repositories, or that otherwise does not have enough copies. - Does not look at .gitattributes since that is quite a lot slower. |