Thread (18 messages) 18 messages, 3 authors, 2022-02-08
STALE1579d
Revisions (2)
  1. v2 current
  2. v4 [diff vs current]

[PATCH v2 0/2] t/lib-read-tree-m-3way: modernize a test script

From: Shaoxuan Yuan <hidden>
Date: 2022-01-30 09:44:07

Modernized the test script t/lib-read-tree-m-3way.

Comparing to v1:
1. Kept the test title's double quotes if the title needs to 
    be interpolated.
    e.g. in the following block

    -	test_expect_success \
    -	    "adding test file $p and Z/$p" \
    -	    'git update-index --add $p &&
    -	    git update-index --add Z/$p'
    +	test_expect_success "adding test file $p and Z/$p" '
    +	    git update-index --add $p &&
    +	    git update-index --add Z/$p
    +    '

    where the title "adding test file $p and Z/$p" is kept
    to use double quotes, since the "$p" needs to be interpolated.

2. Added a commit to replace spaces with tabs.

Shaoxuan Yuan (2):
  t/lib-read-tree-m-3way: replace double quotes with single quotes
  t/lib-read-tree-m-3way: replace spaces with tabs

 t/lib-read-tree-m-3way.sh | 168 +++++++++++++++++++-------------------
 1 file changed, 84 insertions(+), 84 deletions(-)

Range-diff against v1:
1:  0069b1f385 = 1:  0069b1f385 t/lib-read-tree-m-3way: replace double quotes with single quotes
-:  ---------- > 2:  92e2e6294b t/lib-read-tree-m-3way: replace spaces with tabs
-- 
2.35.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help