acmpesuecc / acmpesuecc/myGit

Refactoring hash-object

未关闭
#2 12 条评论 0 个 reaction 已指派 1 人 已被 @NikhitaMedayhal 认领 在 GitHub 查看
Bounty: 35 enhancement
主要语言
Python
星标
0
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

Currently using mygit hash-object computes the object ID value for an object and writes the resulting object into the object database. It also reports its object ID to the standard output.

We do not want this to happen, hash-object should not write to the object database by default, make the changes accordingly so that this behavior is avoided.

If we wish to write to the object database then the -w flag is passed.

Keep in mind that there are other functions which use the hash-object function and write to the object database, when you make changes, make sure the other functions that use hash-object work like they used to previously.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。