On Mon, Jul 31, 2017 at 01:26:40PM -0700, Stefan Beller wrote: > On Sun, Jul 30, 2017 at 4:24 PM, brian m. carlson > <sandals@xxxxxxxxxxxxxxxxxxxx> wrote: > > I realize this was worded poorly. So for my example, in this case, we'd > > do: > > > > test-helper-hash-string "263 410" > > > > For SHA-1, we'd get "263 410". For SHA-256, we'd get "313 481" (which, > > as SHA-256 blobs, both start with "17" in their hex representation). > > Presumably we'd read some environment variable to determine the proper > > value. > > This is what Junio proposed in the first message, except that we defer that > to a shell script as for each test we may need different things, so a helper may > be of little value? I think a shell script may end up being a fine helper for our needs. In any case, I think we're in violent agreement. My proposal was just an idea I had considered when thinking about how to do this, and any suitable solution is fine with me. -- brian m. carlson / brian with sandals: Houston, Texas, US https://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: https://keybase.io/bk2204
Attachment:
signature.asc
Description: PGP signature