Praqma / 2git

A Groovy DSL to migrate from ClearCase to Git
MIT License
17 stars 4 forks source link

Generating of LFS does not add .gitattributes to init commit #148

Open bicschneider opened 3 years ago

bicschneider commented 3 years ago

https://github.com/Praqma/2git/blob/297e6cf3554196e72ceba7eac4a652ee94214490/src/main/groovy/togit/migration/targets/git/GitUtil.groovy#L72

->

        options.lfs.each { file ->
            callOrDie(path, "lfs", "track", "'$file'")
            callOrDie(path, "add", ".gitattributes" )
        }