Don't reset the .gitattributes file

Just change it if it existed before
This commit is contained in:
Stephan Kulow 2022-11-04 20:55:59 +01:00
parent 4e1d5b42ca
commit bd5bd5a444

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: