Re: [PATCH v2] builtin/clone: avoid failure with GIT_DEFAULT_HASH
On 2020-09-15 at 04:31:14, Junio C Hamano wrote:
Show 9 quoted lines
> > Changes since v1:
> > * Use git_config_set_gently to make things work with SHA-1 repos as well
> > as SHA-256 repos.
>
> Hmph, the reason why v1's bug weren't caught was because it was only
> tested with GIT_TEST_DEFAULT_HASH=sha256, right? I am wondering if
> adding two new tests that run the same end-user scenario except
> for the choice of hash algorithms would be a good way to ensure this
> will stay fixed. Am I mistaken?
Sure, I can do that. I'll try to get a v3 out soon.
--
brian m. carlson: Houston, Texas, US