Skip to content

Commit

Permalink
skip relink check for directories (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Aug 13, 2024
1 parent 1acaeb8 commit b3e73b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dvc_data/hashfile/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ def _determine_files_to_relink(
for change in diff.unchanged:
old = change.old
new = change.new
if new.oid and new.oid.isdir:
continue

old_meta = old.meta
if old_meta is None:
mappend(change)
Expand Down

0 comments on commit b3e73b0

Please sign in to comment.