Re: [PATCH 02/26] patch-id: convert to use the_hash_algo

2019-08-22 Thread Junio C Hamano
"brian m. carlson" writes: > On 2019-08-20 at 21:12:00, René Scharfe wrote: >> So perhaps this on top? (Or squash it in, if you like, but it's >> certainly not worth a re-roll.) > > Yeah, this seems sensible. I'll include it if I do a re-roll. Thanks.

Re: [PATCH 02/26] patch-id: convert to use the_hash_algo

2019-08-20 Thread brian m. carlson
On 2019-08-20 at 21:12:00, René Scharfe wrote: > So perhaps this on top? (Or squash it in, if you like, but it's > certainly not worth a re-roll.) Yeah, this seems sensible. I'll include it if I do a re-roll. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204 signature

Re: [PATCH 02/26] patch-id: convert to use the_hash_algo

2019-08-20 Thread René Scharfe
Am 18.08.19 um 22:04 schrieb brian m. carlson: > diff --git a/builtin/patch-id.c b/builtin/patch-id.c > index bd28b80b2d..3059e525b8 100644 > --- a/builtin/patch-id.c > +++ b/builtin/patch-id.c > @@ -1,15 +1,16 @@ > +#include "cache.h" > #include "builtin.h" > #include "config.h" > #include "dif

[PATCH 02/26] patch-id: convert to use the_hash_algo

2019-08-18 Thread brian m. carlson
Convert the two separate patch-id implementations to use the_hash_algo in their implementation. Signed-off-by: brian m. carlson --- builtin/patch-id.c | 11 ++- diff.c | 46 +++--- diff.h | 2 +- 3 files changed, 30 inserti