From c2294d6200ee4014def5762f17bbc27374fd1b1f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 2 Nov 2022 18:27:17 +0100 Subject: [PATCH] Add a default LFS .gitattributes for now Otherwise some packages will break to import --- lib/git_exporter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/git_exporter.py b/lib/git_exporter.py index 73b4b80..dc18256 100644 --- a/lib/git_exporter.py +++ b/lib/git_exporter.py @@ -150,6 +150,9 @@ class GitExporter: ) self.git.add(file) + # Overwrite ".gitattributes" with the + self.git.add_default_lfs_gitattributes(force=True) + commit = self.git.commit( f"OBS User {flat.commit.userid}", "null@suse.de",