use "variant" rather than "version"
While this word may be less familiar to some users, it avoids the connotation that version 2 is better than version 1, which is wrong when the two variants were conflicting.
This commit is contained in:
parent
054ddda18a
commit
36ddb81df6
1 changed files with 2 additions and 2 deletions
|
@ -251,11 +251,11 @@ mergeFile file key
|
|||
| doubleconflict = go $ show key
|
||||
| otherwise = go $ shortHash $ show key
|
||||
where
|
||||
vermarker = ".version-"
|
||||
varmarker = ".variant-"
|
||||
doubleconflict = vermarker `isSuffixOf` (dropExtension file)
|
||||
go v = takeDirectory file
|
||||
</> dropExtension (takeFileName file)
|
||||
++ vermarker ++ v
|
||||
++ varmarker ++ v
|
||||
++ takeExtension file
|
||||
|
||||
shortHash :: String -> String
|
||||
|
|
Loading…
Reference in a new issue