From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Thu, 29 Sep 2016 22:27:22 +0200 Subject: RFC: replace 'unsigned char sha1[20]' with 'struct object_id oid' Message-ID: <20160929222722.64de8fa3@leda.localdomain> Hello everybody, upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id oid'. We have some code that can be changed independent from upstream. So here we go... The following changes since commit 11695a58fd732689be486edf88d145578a787c89: git: update to v2.10.0 (2016-09-04 12:38:18 +0200) are available in the git repository at: ssh://git at git.zx2c4.com/cgit ch/sha1-oid for you to fetch changes up to 0a8ac85a21bd9db1b002dd5658c48f36dc3902af: ui-tree: replace 'unsigned char sha1[20]' with 'struct object_id oid' (2016-09-29 22:17:07 +0200) ---------------------------------------------------------------- Christian Hesse (10): cgit: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-blob: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-commit: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-log: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-patch: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-plain: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-shared: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-snapshot: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-tag: replace 'unsigned char sha1[20]' with 'struct object_id oid' ui-tree: replace 'unsigned char sha1[20]' with 'struct object_id oid' cgit.c | 9 +++++---- ui-blob.c | 44 ++++++++++++++++++++++---------------------- ui-commit.c | 8 ++++---- ui-log.c | 2 +- ui-patch.c | 22 +++++++++++----------- ui-plain.c | 6 +++--- ui-shared.c | 10 +++++----- ui-snapshot.c | 18 +++++++++--------- ui-tag.c | 12 ++++++------ ui-tree.c | 6 +++--- 10 files changed, 69 insertions(+), 68 deletions(-) -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 455 bytes Desc: OpenPGP digital signature URL: