Skip to content

Commit

Permalink
stage: set hash_info from original hash_file
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored and efiop committed Jun 14, 2022
1 parent d31a3aa commit 625823b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dvc_data/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def _stage_file(path, fs, name, odb=None, upload_odb=None, dry_run=False):
else:
odb.add(path, fs, oid, hardlink=False)
obj = odb.get(oid)
obj.hash_info = hash_info

return path, meta, obj

Expand Down

0 comments on commit 625823b

Please sign in to comment.