From 83f287270438585d04495b801977b8d800b2b2e5 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Mon, 3 Jul 2023 14:49:13 +0900 Subject: [PATCH] dvcfs: return md5-dos2unix in info --- dvc/fs/dvc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dvc/fs/dvc.py b/dvc/fs/dvc.py index 188ccee0a7..42bffc952f 100644 --- a/dvc/fs/dvc.py +++ b/dvc/fs/dvc.py @@ -54,6 +54,8 @@ def _merge_info(repo, key, fs_info, dvc_info): ret["size"] = dvc_info["size"] if not fs_info and "md5" in dvc_info: ret["md5"] = dvc_info["md5"] + if not fs_info and "md5-dos2unix" in dvc_info: + ret["md5-dos2unix"] = dvc_info["md5-dos2unix"] if fs_info: ret["type"] = fs_info["type"]