From: Jonathan Nieder Date: Tue, 22 Jan 2013 08:02:16 GMT Subject: Re: [PATCH v2 02/10] t/test-lib-functions.sh: allow to specify the tag name to test_commit Message-ID: <20130122080216.GC6085@elie.Belkin> In-Reply-To: <1358757627-16682-3-git-send-email-drafnel@gmail.com> Brandon Casey wrote: > The part of test_commit() may not be appropriate for a tag name. > So let's allow test_commit to accept a fourth argument to specify the tag > name. Yes! [...] > --- a/t/test-lib-functions.sh > +++ b/t/test-lib-functions.sh > @@ -135,12 +135,13 @@ test_pause () { > fi > } > > -# Call test_commit with the arguments " [ []]" > +# Call test_commit with the arguments " [ [ []]]" > # > # This will commit a file with the given contents and the given commit > -# message. It will also add a tag with as name. > +# message. It will also add a tag with as name unless is > +# given. > # > -# Both and default to . > +# , , and all default to . Simpler: # This will commit a file with the given contents and the given commit # message and tag the resulting commit with the given tag name. # # , , and all default to . With or without that change, Reviewed-by: Jonathan Nieder