Re: [PATCH v2 3/8] t3206: remove spaces after redirect operators
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Nov 20, 2019, 00:20 UTC
- Message-ID
- <CAPig+cRnbnj3-ZjXiRkHU8JNREo1qCvbV9AYcq0TdUcQ8i4VhA@mail.gmail.com>
- In-Reply-To
- <16a90b70638b100afe4b7d68c0db20ffae7ce964.1574207673.git.liu.denton@gmail.com>
On Tue, Nov 19, 2019 at 6:55 PM Denton Liu <liu.denton@gmail.com> wrote:
Show 14 quoted lines
> For shell scripts, the usual convention is for there to be no space > after redirection operators, (e.g. `>file`, not `> file`). Remove the > one instance of this. > > Signed-off-by: Denton Liu <liu.denton@gmail.com> > --- > diff --git a/t/t3206-range-diff.sh b/t/t3206-range-diff.sh > @@ -8,7 +8,7 @@ test_description='range-diff tests' > test_expect_success 'setup' ' > - git fast-import < "$TEST_DIRECTORY"/t3206/history.export && > + git fast-import <"$TEST_DIRECTORY"/t3206/history.export && > test_oid_cache <<-EOF > # topic > t1 sha1:4de457d
While you're here cleaning style problems, you could also change this here-doc from -EOF to -\EOF. (This is the only here-doc in this script which can use -\EOF; all the others need -EOF.)