Re: [PATCH 00/41] object_id part 13
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 30, 2018, 18:03 UTC
- Message-ID
- <CACsJy8CX7cgd4EGSHVUtm35Aq92Us8WBA-r746vEaZiFP5Q5Lg@mail.gmail.com>
- In-Reply-To
- <20180423233951.276447-1-sandals@crustytoothpaste.net>
On Tue, Apr 24, 2018 at 1:39 AM, brian m. carlson <sandals@crustytoothpaste.net> wrote:
> [0] I can synthesize blobs, trees, and commits, but things are currently > totally broken, which is, I suppose, to be expected.
Yup. I was tired and bored so I went playing with the new hash. Writing and reading blobs (with hash-object/cat-file) were relatively easy after fixing up fill_sha1_path and get_oid_basic). Then I worked my way up to update-index/ls-files so that I could make trees with write-tree. And I hit the first road block: struct ondisk_cache_entry hard codes hash size so I would need to re-organize the code for more flexibility (or even redesign the file format if I want to keep byte alignment). Eck...
I guess I'll be helping review this series instead :D
-- Duy