Skip to content

Commit

Permalink
Use either md5 or md5-dos2unix
Browse files Browse the repository at this point in the history
Co-authored-by: skshetry <18718008+skshetry@users.noreply.github.com>
  • Loading branch information
petebachant and skshetry authored Oct 12, 2024
1 parent 9249ab0 commit e6cb9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/repo/ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _ls(
"isdir": info["type"] == "directory",
"isexec": info.get("isexec", False),
"size": info.get("size"),
"md5": dvc_info.get("md5"),
"md5": dvc_info.get("md5") or dvc_info.get("md5-dos2unix"),
}

return ret

0 comments on commit e6cb9ce

Please sign in to comment.