Re: [PATCH 0/4] sample hooks: become hash agnostic
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Sep 18, 2020, 21:35 UTC
- Message-ID
- <20200918213507.GD67496@camp.crustytoothpaste.net>
- In-Reply-To
- <cover.1600427894.git.liu.denton@gmail.com>
On 2020-09-18 at 11:19:01, Denton Liu wrote:
> There are currently two hooks that have hardcoded 40 zeros as the null > OID and, thus, are not hash-agnostic. Rewrite these to use the newly > introduced `git rev-parse --null-oid` so that they become hash-agnostic.
I've looked over this series and I fully agree that the scripts should be hash agnostic. I offered an alternative which you may find simpler and more appealing (or not), but with the constraint that if we add --null-oid, it should accept an argument, I have no comments beyond what other folks have added.
-- brian m. carlson: Houston, Texas, US