Re: [PATCH 04/20] abbrev tests: add tests for core.abbrev and --abbrev

2018-06-12 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > diff --git a/t/t0014-abbrev.sh b/t/t0014-abbrev.sh > new file mode 100755 > index 00..1c60f5ff93 > --- /dev/null > +++ b/t/t0014-abbrev.sh > @@ -0,0 +1,118 @@ > +#!/bin/sh > + > +test_description='test core.abbrev and related features' > + > +.

[PATCH 04/20] abbrev tests: add tests for core.abbrev and --abbrev

2018-06-08 Thread Ævar Arnfjörð Bjarmason
How hashes are abbreviated is a core feature of git, and should have its own t0*.sh tests. There's a few tests for core.abbrev and --abbrev already, but none of those stress the feature itself and its edge cases much. We should have tests for those in one place. I don't like some of this behavior