Re: [PATCH] t3200 (branch): modernize style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ramkumar Ramachandra <artagnon@xxxxxxxxx> writes:

>  Another random patch. Found it while grep'ping around.  I thought I
>  could automate my work, which would have been the case if it was
>  consistently inconsistent.  Unfortunately, it wasn't, and I ended up
>  doing a lot of manual janitorial work :|

Thanks.  It would have been nicer to also fix the redirection,
e.g. "cmd >target" (not "cmd > target") that appear in the first
hunk, i.e. this on top (I'll squash this in myself).

 t/t3200-branch.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 3203b15..74fbba1 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -8,10 +8,10 @@ test_description='git branch assorted tests'
 . ./test-lib.sh
 
 test_expect_success 'prepare a trivial repository' '
-	echo Hello > A &&
+	echo Hello >A &&
 	git update-index --add A &&
 	git commit -m "Initial commit." &&
-	echo World >> A &&
+	echo World >>A &&
 	git update-index --add A &&
 	git commit -m "Second commit." &&
 	HEAD=$(git rev-parse --verify HEAD)'
@@ -750,7 +750,7 @@ test_expect_success 'detect misconfigured autosetuprebase (bad value)' '
 
 test_expect_success 'detect misconfigured autosetuprebase (no value)' '
 	git config --unset branch.autosetuprebase &&
-	echo "[branch] autosetuprebase" >> .git/config &&
+	echo "[branch] autosetuprebase" >>.git/config &&
 	test_must_fail git branch &&
 	git config --unset branch.autosetuprebase
 '




--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]