Re: [PATCH v4 10/12] Add a base implementation of SHA-256 support
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Oct 28, 2018, 15:52 UTC
- Message-ID
- <20181028155206.GI6119@genre.crustytoothpaste.net>
- In-Reply-To
- <CAPUEspjCjFiwCO8TCM23f2jqFSpy2z05+Ea_zGATy0jh1L83iQ@mail.gmail.com>
On Wed, Oct 24, 2018 at 08:02:55PM -0700, Carlo Arenas wrote:
Show 15 quoted lines
> On Wed, Oct 24, 2018 at 7:41 PM brian m. carlson > <sandals@crustytoothpaste.net> wrote: > > diff --git a/sha256/block/sha256.h b/sha256/block/sha256.h > > new file mode 100644 > > index 0000000000..38f02f7e6c > > --- /dev/null > > +++ b/sha256/block/sha256.h > > @@ -0,0 +1,26 @@ > > +#ifndef SHA256_BLOCK_SHA256_H > > +#define SHA256_BLOCK_SHA256_H > > + > > +#include "git-compat-util.h" > > this shouldn't be needed and might be discouraged as per the > instructions in Documentation/CodingGuidelines
This may not strictly be needed, but removing it makes the header no longer self-contained, which blows up my (and others') in-editor linting. I think it's okay to add this extra header here to keep it self-contained, even if we know that it's not going to be absolutely required.
-- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204