Fix the maintenance of .gitattributes file #17

Merged
Ghost merged 14 commits from fix_lfs_attributes into main 2022-11-07 13:26:36 +01:00
Showing only changes of commit bd5bd5a444 - Show all commits

View File

@ -116,8 +116,8 @@ class GitExporter:
assert flat.parent2.git_commit
parents.append(flat.parent2.git_commit)
# Overwrite ".gitattributes" with the
self.git.add_default_lfs_gitattributes(force=True)
# create file if not existant
self.git.add_default_lfs_gitattributes(force=False)
to_download, to_delete = flat.commit.calc_delta(branch_state[flat.branch])
for file in to_delete: