Skip to content

tests: modernize test format

John Cai via GitGitGadget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20t1000-basic: modernize test formatt/t0000-basic.sh+1 -11 reply
2/20t0030-stripspace: modernize test formatt/t0030-stripspace.sh+271 -2890 replies
3/20t3210-pack-refs: modernize test formatt/t3210-pack-refs.sh+77 -773 replies
4/20t1001-read-tree-m-2way: modernize test formatt/t1001-read-tree-m-2way.sh+1 -10 replies
5/20t1002-read-tree-m-u-2way: modernize test formatt/t1002-read-tree-m-u-2way.sh+293 -2960 replies
6/20t1006-cat-file: modernize test formatt/t1006-cat-file.sh+13 -130 replies
7/20t3500-cherry: modernize test formatt/t3500-cherry.sh+33 -360 replies
8/20t3700-add: modernize test formatt/t3700-add.sh+17 -170 replies
9/20t3903-stash: modernize test formatt/t3903-stash.sh+13 -130 replies
10/20t4002-diff-basic: modernize test formatt/t4002-diff-basic.sh+121 -1220 replies
11/20t4003-diff-rename-1: modernize test formatt/t4003-diff-rename-1.sh+31 -310 replies
12/20t4004-diff-rename-symlink: modernize test formatt/t4004-diff-rename-symlink.sh+21 -210 replies
13/20t4202-log: modernize test formatt/t4202-log.sh+4 -40 replies
14/20t4206-log-follow-harder-copies: modernize test formatt/t4206-log-follow-harder-copies.sh+18 -180 replies
15/20t5300-pack-object: modernize test formatt/t5300-pack-object.sh+92 -920 replies
16/20t5301-sliding-window: modernize test formatt/t5301-sliding-window.sh+50 -500 replies
17/20t5303-pack-corruption-resilience: modernize test formatt/t5303-pack-corruption-resilience.sh+292 -2920 replies
18/20t5306-pack-nobase: modernize test formatt/t5306-pack-nobase.sh+45 -490 replies
19/20t6050-replace: modernize test formatt/t6050-replace.sh+148 -1480 replies
20/20t7101-reset-empty-subdirs: modernize test formatt/t7101-reset-empty-subdirs.sh+24 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20] tests: modernize test format

There are a number of tests that still follow an old convention of using four-space indentation. Update a bunch of tests to use the new convention with tab indentation.

John Cai (20):
t1000-basic: modernize test format
t0030-stripspace: modernize test format
t3210-pack-refs: modernize test format
t1001-read-tree-m-2way: modernize test format
t1002-read-tree-m-u-2way: modernize test format
t1006-cat-file: modernize test format
t3500-cherry: modernize test format
t3700-add: modernize test format
t3903-stash: modernize test format
t4002-diff-basic: modernize test format
t4003-diff-rename-1: modernize test format
t4004-diff-rename-symlink: modernize test format
t4202-log: modernize test format t4206-log-follow-harder-copies: modernize test format
t5300-pack-object: modernize test format
t5301-sliding-window: modernize test format t5303-pack-corruption-resilience: modernize test format
t5306-pack-nobase: modernize test format
t6050-replace: modernize test format
t7101-reset-empty-subdirs: modernize test format

 t/t0000-basic.sh                      |   2 +-
 t/t0030-stripspace.sh                 | 560 ++++++++++++------------
 t/t1001-read-tree-m-2way.sh           |   2 +-
 t/t1002-read-tree-m-u-2way.sh         | 589 +++++++++++++-------------
 t/t1006-cat-file.sh                   |  26 +-
 t/t3210-pack-refs.sh                  | 154 +++----
 t/t3500-cherry.sh                     |  69 ++-
 t/t3700-add.sh                        |  34 +-
 t/t3903-stash.sh                      |  26 +-
 t/t4002-diff-basic.sh                 | 243 ++++++-----
 t/t4003-diff-rename-1.sh              |  62 +--
 t/t4004-diff-rename-symlink.sh        |  42 +-
 t/t4202-log.sh                        |   8 +-
 t/t4206-log-follow-harder-copies.sh   |  36 +-
 t/t5300-pack-object.sh                | 184 ++++----
 t/t5301-sliding-window.sh             | 100 ++---
 t/t5303-pack-corruption-resilience.sh | 584 ++++++++++++-------------
 t/t5306-pack-nobase.sh                |  94 ++--
 t/t6050-replace.sh                    | 296 ++++++-------
 t/t7101-reset-empty-subdirs.sh        |  48 +--
 20 files changed, 1565 insertions(+), 1594 deletions(-)

base-commit: 004e0f790f947c9c511a9ac4f905021c7dbfa9e1
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1513%2Fjohn-cai%2Fjc%2Fmodernize-test-format-1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1513/john-cai/jc/modernize-test-format-1-v1
Pull-Request: https://github.com/git/git/pull/1513

Signature · 1 line
gitgitgadget