From: Jeff King Date: Mon, 12 Mar 2012 12:31:53 GMT Subject: Re: [PATCH 2/2] t0303: resurrect commit message as test documentation Message-ID: <20120312123153.GB14456@sigill.intra.peff.net> In-Reply-To: <1331553907-19576-3-git-send-email-zbyszek@in.waw.pl> On Mon, Mar 12, 2012 at 01:05:07PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > The commit message which added those tests (861444f 't: add test > harness for external credential helpers' 2011-12-10) provided nice > documentation in the commit message. Let's make it more visible. Thanks, good idea. > +# If your helper supports time-based expiration with a > +# configurable timeout, you can test that feature with: > +# > +# GIT_TEST_CREDENTIAL_HELPER_TIMEOUT="foo --timeout=1" \ > +# make t0303-credential-external.sh This example is slightly bogus, as described in my previous message. It needs to set GIT_TEST_CREDENTIAL_HELPER, as well. -Peff