We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f80efc commit 86fedafCopy full SHA for 86fedaf
renku/core/models/provenance/activities.py
@@ -192,6 +192,11 @@ def paths(self):
192
index = set()
193
194
for file_ in self.commit.diff(self.commit.parents or NULL_TREE):
195
+ # ignore deleted files (note they appear as ADDED)
196
+ # in this backwards diff
197
+ # TODO: set `deprecatedBy` for deleted paths
198
+ if file_.change_type == 'A':
199
+ continue
200
path_ = Path(file_.a_path)
201
202
is_dataset = self.client.DATASETS in str(path_)
0 commit comments