From 625823b993a0c22c02daee51d56080a51be0028e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Tue, 14 Jun 2022 13:13:44 +0545 Subject: [PATCH] stage: set hash_info from original hash_file --- src/dvc_data/stage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dvc_data/stage.py b/src/dvc_data/stage.py index 2d786ca3..d15769ad 100644 --- a/src/dvc_data/stage.py +++ b/src/dvc_data/stage.py @@ -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