`peel` arguments inconsistent.
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 1.7k
- 分支
- 408
- 平均合併
- 2 天 57 分鐘
- 30 天內合併 PR
- 7
描述
peel is implemented twice, once in object.c and once in reference.c. In the first it requires an argument and in the second it provides a default argument of None. This is confusing when branches can be 'default' peeled but tags cannot.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
比較 object.c 和 reference.c 中的兩個 peel 實作,重點關注它們對分支和標籤引數的處理。為選用引數確立一致的行為,然後驗證兩個實作是否提供相同的介面,以及預設 peeling 是否仍然正確。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- git, python
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100