Re: [RFC PATCH 0/9] Use a structure for object IDs.
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- May 4, 2014, 09:19 UTC
- Message-ID
- <5366060B.4000301@kdbg.org>
- In-Reply-To
- <5365DF94.9060707@alum.mit.edu>
Am 04.05.2014 08:35, schrieb Michael Haggerty:
Show 6 quoted lines
> On 05/03/2014 10:12 PM, brian m. carlson wrote: >> I specifically did not choose "sha1" since it >> looks weird to have "sha1->sha1" and I didn't want to rename lots of >> variables. > > That means that we will have sha1->oid all over the place, right?
Only during the transition period. When all functions that currently take unsigned char[20] are converted to struct object_id *, this additional dereferences go away again.
-- Hannes