From ea2fd248340aaeff8c2e90d9f67387f4bbe55fbe Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Tue, 29 Sep 2020 13:28:00 +0200 Subject: [PATCH] Use unicode arrow to indicate current commit --- assignment1/README.md | 2 +- assignment1/lit-test | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/assignment1/README.md b/assignment1/README.md index cba14d3..9828b11 100644 --- a/assignment1/README.md +++ b/assignment1/README.md @@ -129,7 +129,7 @@ You don't have to follow the exact format of this example: ``` $ lit log -o─┐ < r3 "Merge r2 with r1" +o─┐ ← r3 "Merge r2 with r1" │ o r2 "Add chocolate egg dispenser" o │ r1 "Add coin operated self destruct feature" o─┘ r0 "First Commit" diff --git a/assignment1/lit-test b/assignment1/lit-test index 4ed836e..901f41a 100755 --- a/assignment1/lit-test +++ b/assignment1/lit-test @@ -39,7 +39,8 @@ echo >>file1 "A forth line is added." lit commit "Extend file1 even further" echo "== Displaying graph" -# o < r2 Extend file1 even further + +# o ← r2 Extend file1 even further # o r1 Extend file1 # o r0 Add file1 lit log @@ -87,7 +88,7 @@ EOF # This should be r3. lit commit "Add file2" -# o < r3 Add file2 +# o ← r3 Add file2 # │ o r2 Extend file1 even further # │ o r1 Extend file1 # o─┘ r0 Add file1 @@ -110,7 +111,7 @@ diff -s subfolder/file2 <<-EOF And another line in the second file. EOF -# o─┐ < r4 Merge r3 into r2 +# o─┐ ← r4 Merge r3 into r2 # │ o r3 Add file2 # o │ r2 Extend file1 even further # o │ r1 Extend file1 @@ -125,7 +126,7 @@ lit checkout r3 echo >>file1 "Third line ontop of r3." lit commit "Extend file1 another way" # r6 -# o < r6 Extend file1 another way +# o ← r6 Extend file1 another way # o │ r5 Extend file1 one way # o─┤ r4 Merge r3 into r2 # │ o r3 Add file2 @@ -166,7 +167,7 @@ rm file1.r6 file1.r3 lit commit # r7 -# o─┐ < r7 Merge r6 into r5 +# o─┐ ← r7 Merge r6 into r5 # │ o r6 Extend file1 another way # o │ r5 Extend file1 one way # o─┤ r4 Merge r3 into r2