Re: [PATCH] blame: add blame.showemail config option
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Apr 30, 2015, 21:33 UTC
- Message-ID
- <CAPig+cQ1JNeg5eoJib07nc6UrREE80pssokbk+xthXTXDcQz1g@mail.gmail.com>
- In-Reply-To
- <CACfD1vtfO_rqr4wv4oHm7W7DSn-Gk-du6nCuJzYvpPXK_d=y=g@mail.gmail.com>
On Thu, Apr 30, 2015 at 10:03 AM, Quentin Neill <quentin.neill@gmail.com> wrote:
> I'm thinking of a test file that will test all the git blame options, > but for this > patch it will only test the new showEmail config. I read t/README and > tentatively named the new test file "t/8009-blame-config.sh".
I'm not sure that these new proposed tests warrant a new test script. Moreover, the tests presumably will be testing combinations of configuration options and command-line switches, so having "config" in the script name doesn't seem quite correct.
t8002-blame.sh already contains a test for --show-email, so it may be logical to add the new tests there, alongside the existing one. On the other hand, if you do add a new test script, then perhaps the existing --show-email test in t8002-blame.sh should be moved to the new script.