Skip to content

Modernize t9300-fast-import

Johannes Sixt git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7modernize t9300: single-quote placement and indentationt/t9300-fast-import.sh+437 -4350 replies
2/7modernize t9300: use test_must_failt/t9300-fast-import.sh+3 -140 replies
3/7modernize t9300: use test_must_be_emptyt/t9300-fast-import.sh+3 -50 replies
4/7modernize t9300: wrap lines after &&t/t9300-fast-import.sh+32 -160 replies
5/7modernize t9300: use test_when_finished for clean-upt/t9300-fast-import.sh+16 -200 replies
6/7modernize t9300: mark here-doc words to ignore tab indentationt/t9300-fast-import.sh+100 -1000 replies
7/7modernize t9300: move test preparations into test_expect_successt/t9300-fast-import.sh+1297 -12830 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] Modernize t9300-fast-import

Some time ago, I had to dig into t9300-fast-import and found it quite unhelpful that it does not follow our modern best-practices. This series brings it up-to-date. I thought I submit it now while it is quiet in the area.

The larger patches are best viewed using -w -color-words because the regular patch text is ... overwhelming.

Improving shell coding style is outside the scope of this series. I mean fixing eyesores such as 'cat >foo <<EOF && cat foo | sort > bar', or minor things such as quoting <<\EOF when the here-doc does not require substitutions.

In case the large patches don't make it to the list, the series is also available from

https://github.com/j6t/git.git modernize-t9300

Johannes Sixt (7):
modernize t9300: single-quote placement and indentation modernize t9300: use test_must_fail
modernize t9300: use test_must_be_empty
modernize t9300: wrap lines after &&
modernize t9300: use test_when_finished for clean-up modernize t9300: mark here-doc words to ignore tab indentation modernize t9300: move test preparations into test_expect_success

 t/t9300-fast-import.sh | 3629 ++++++++++++++++++++++++------------------------
 1 file changed, 1822 insertions(+), 1807 deletions(-)
Signature · 1 line
2.6.2.337.ga235d84