[GSoC][PATCH 1/2] t4131: modernize style
The tests in 't4131-apply-fake-ancestor.sh' were written a long time ago, and have a few style violations. Update it to adhere to the CodingGuidelines.
Signed-off-by: Harshit Jain <harshitjain1371999@gmail.com>
---
t/t4131-apply-fake-ancestor.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/t/t4131-apply-fake-ancestor.sh b/t/t4131-apply-fake-ancestor.sh
index b1361ce546..828d1a355b 100755
--- a/t/t4131-apply-fake-ancestor.sh
+++ b/t/t4131-apply-fake-ancestor.sh
@@ -17,8 +17,8 @@ test_expect_success 'setup' '
test_expect_success 'apply --build-fake-ancestor' '
git checkout 2 &&
- echo "A" > 1.t &&
- git diff > 1.patch &&
+ echo "A" >1.t &&
+ git diff >1.patch &&
git reset --hard &&
git checkout 1 &&
git apply --build-fake-ancestor 1.ancestor 1.patch
@@ -26,8 +26,8 @@ test_expect_success 'apply --build-fake-ancestor' '
test_expect_success 'apply --build-fake-ancestor in a subdirectory' '
git checkout 3 &&
- echo "C" > sub/3.t &&
- git diff > 3.patch &&
+ echo "C" >sub/3.t &&
+ git diff >3.patch &&
git reset --hard &&
git checkout 4 &&
(
--
2.26.0.rc2