From: Philippe Blain Date: Sat, 18 Jan 2020 19:50:43 GMT Subject: Re: [PATCH 2/4] t2405: use git -C and test_commit -C instead of subshells Message-ID: <30360E66-65B3-4669-B661-237813044041@gmail.com> In-Reply-To: Hi Eric, >> - grep "file1 updated" out >> + grep "file1-updated" out > > Why this change? Is it because test_commit() mishandles the whitespace > in the commit message? If so, it might deserve mention in the commit > message of this patch. (Even better would be to fix test_commit(), if > that is the case.) The only reason is that I didn’t notice that test_commit accepts a argument, which defaults to if unset. So when I changed the test to use test_commit and ran it I got errors from ‘git tag’ saying "file1 updated" is not a valid tag name, so I added a dash. I’ll correct that in v2. Thanks, Philippe.