From: Jonathan Nieder <jrnieder@gmail.com>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: git@vger.kernel.org
Subject: Re: [RFC PATCH] Move SHA-1 implementation selection into a header file
Date: Tue, 14 Mar 2017 11:41:26 -0700 [thread overview]
Message-ID: <20170314184126.GJ26789@aiede.mtv.corp.google.com> (raw)
In-Reply-To: <20170311222818.518541-1-sandals@crustytoothpaste.net>
Hi,
brian m. carlson wrote:
[...]
> --- a/cache.h
> +++ b/cache.h
> @@ -10,8 +10,8 @@
> #include "trace.h"
> #include "string-list.h"
> #include "pack-revindex.h"
> +#include "hash.h"
>
> -#include SHA1_HEADER
For what it's worth, the bazel build tool doesn't like this
'#include SHA1_HEADER' either. Your fix looks like a straightforward
fix and we never encouraged directly customizing SHA1_HEADER.
The other approaches discussed may also work but they don't add
anything for my application (nor yours, I'd think). Conditional
#includes are a pretty normal thing so I am fine with this more
straightforward change. So
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
That said, if someone is excited about one of the other approaches
then I don't object to them.
Thanks,
Jonathan
next prev parent reply other threads:[~2017-03-14 18:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-11 22:28 [RFC PATCH] Move SHA-1 implementation selection into a header file brian m. carlson
2017-03-12 13:01 ` Jeff King
2017-03-12 16:51 ` brian m. carlson
2017-03-12 20:12 ` Jeff King
2017-03-12 17:54 ` Junio C Hamano
2017-03-14 18:41 ` Jonathan Nieder [this message]
2017-03-14 20:14 ` Jeff King
2017-03-14 20:44 ` Junio C Hamano
2017-03-14 21:26 ` Jeff King
2017-03-14 21:50 ` Jonathan Nieder
2017-03-14 23:42 ` Ramsay Jones
2017-03-14 23:46 ` brian m. carlson
2017-03-15 0:15 ` Ramsay Jones
2017-03-15 15:57 ` Junio C Hamano
2017-03-15 19:48 ` Ramsay Jones
2017-03-14 21:56 ` Jonathan Nieder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170314184126.GJ26789@aiede.mtv.corp.google.com \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=sandals@crustytoothpaste.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).