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 摘要。