Re: [PATCH 11/11] sha1_file: convert write_sha1_file to object_id
On Thu, Jan 18, 2018 at 03:51:03PM +0100, Patryk Obara wrote:
Show 12 quoted lines
> diff --git a/sha1_file.c b/sha1_file.c
> index 88b960316c..b7baf69041 100644
> --- a/sha1_file.c
> +++ b/sha1_file.c
> @@ -1420,8 +1420,8 @@ void *read_object_with_reference(const unsigned char *sha1,
> }
>
> static void write_sha1_file_prepare(const void *buf, unsigned long len,
> - const char *type, unsigned char *sha1,
> - char *hdr, int *hdrlen)
> + const char *type, struct object_id *oid,
> + char *hdr, int *hdrlen)
It looks like the indentation has changed here. Was that intentional?
--
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204