From 73e91ef457de078c74bffed49ee5df2babc71ccf Mon Sep 17 00:00:00 2001 From: Claus Schneider Date: Thu, 5 Nov 2020 09:30:16 +0100 Subject: [PATCH] Fix gh-148: git add the .gitattributes file during init config --- src/main/groovy/togit/migration/targets/git/GitUtil.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/togit/migration/targets/git/GitUtil.groovy b/src/main/groovy/togit/migration/targets/git/GitUtil.groovy index 27831db..4eadabc 100644 --- a/src/main/groovy/togit/migration/targets/git/GitUtil.groovy +++ b/src/main/groovy/togit/migration/targets/git/GitUtil.groovy @@ -70,6 +70,7 @@ class GitUtil { static void setGitLfs(File path, GitOptions options) { options.lfs.each { file -> callOrDie(path, 'lfs', 'track', "'$file'") + callOrDie(path, "add", ".gitattributes" ) } }