Skip to content
代码片段 群组 项目
未验证 提交 bfab8988 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin 提交者: GitLab
浏览文件

Introduce empty_tree_id to correctly work with SHA256 repository

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/441465

**Problem**

We use a hardcoded SHA1_EMPTY_TREE_ID value to detect the empty
repository tree. But SHA256 repositories have a different empty tree id.

**Solution**

Consider the repository object format for the empty tree id selection.

Changelog: other
上级 cab2e61d
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册