Open bluelovers opened 4 years ago
I'm not sure if I understand your question. This codec operates on raw Git objects. The test fixtures contain objects of the types blob
, commit
, tag
and tree
, which seem to be all types that Git supports.
What are you missing? Can you give examples of such Git objects?
tree only record file list tag is just tag info commit didn't has file info
so where is file change record ( rename , delete, add, edit )?
AFAIK, those things are not stored in Git, they are calculated. For more information about renames, https://chelseatroy.com/2020/05/09/question-how-does-git-detect-renames/ is a good read. And for Git internals I recommend the "Git Internals" chapter from the Git book
where are git rename/add/delete/edit history object?
i didn't see demo and code has any about it