
For example, without this patch: ``` $ python $LIT_BUILTINS/diff.py -b foo.txt bar.txt *** /tmp/foo.txt --- /tmp/bar.txt *************** *** 1,2 **** 1! 2--- 1,2 ---- 1! 20 ``` With this patch: ``` $ python $LIT_BUILTINS/diff.py -b foo.txt bar.txt *** /tmp/foo.txt --- /tmp/bar.txt *************** *** 1,2 **** 1 ! 2 --- 1,2 ---- 1 ! 20 ``` Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D71577
9 lines
181 B
Plaintext
9 lines
181 B
Plaintext
# RUN: echo 'f o o' > %t.0
|
|
# RUN: echo 'b a r' >> %t.0
|
|
|
|
# RUN: echo 'f o o' > %t.1
|
|
# RUN: echo 'bar' >> %t.1
|
|
|
|
# Due to -b, only second line has a change.
|
|
# RUN: diff -b %t.0 %t.1
|