summaryrefslogtreecommitdiff
path: root/t/t5537-fetch-shallow.sh
diff options
context:
space:
mode:
authorAndrei Rybak <rybak.a.v@gmail.com>2020-03-22 21:14:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-22 23:41:05 (GMT)
commit64d1022e14cafa211f84aab9e1a9f7aab8164855 (patch)
tree8f681d1c99a8a9e088fb70cb1ea2bc6f15085cc6 /t/t5537-fetch-shallow.sh
parent9b966fffc26d378cc11bd3e924f979403ab174dc (diff)
downloadgit-64d1022e14cafa211f84aab9e1a9f7aab8164855.zip
git-64d1022e14cafa211f84aab9e1a9f7aab8164855.tar.gz
git-64d1022e14cafa211f84aab9e1a9f7aab8164855.tar.bz2
t: fix whitespace around &&
Add missing spaces before '&&' and switch tabs around '&&' to spaces. Also fix the space after redirection operator in t3701 while we're here. These issues were found using `git grep '[^ ]&&$'` and `git grep -P '&&\t' t/`. Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5537-fetch-shallow.sh')
-rwxr-xr-xt/t5537-fetch-shallow.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5537-fetch-shallow.sh b/t/t5537-fetch-shallow.sh
index 4f681db..b57209c 100755
--- a/t/t5537-fetch-shallow.sh
+++ b/t/t5537-fetch-shallow.sh
@@ -131,7 +131,7 @@ test_expect_success 'fetch that requires changes in .git/shallow is filtered' '
git init notshallow &&
(
cd notshallow &&
- git fetch ../shallow/.git refs/heads/*:refs/remotes/shallow/*&&
+ git fetch ../shallow/.git refs/heads/*:refs/remotes/shallow/* &&
git for-each-ref --format="%(refname)" >actual.refs &&
cat <<EOF >expect.refs &&
refs/remotes/shallow/no-shallow