aboutsummaryrefslogtreecommitdiff
path: root/RelNotes
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-29 18:14:14 -0800
committerJunio C Hamano <gitster@pobox.com>2012-03-01 11:59:51 -0800
commit13a4899886958c211b96bced228fdaaa42674491 (patch)
treedabc27cf0350eee1baab814ddcedb4ae7236079e /RelNotes
parent6a2e93f1074d5a8b25c2020805e6b8d795d13e4d (diff)
downloadgit-13a4899886958c211b96bced228fdaaa42674491.tar.gz
git-13a4899886958c211b96bced228fdaaa42674491.tar.xz
t4011: modernise style
Match the style to more modern test scripts, namely: - The first line of each test has prereq, title and opening sq for the script body. This makes the test shorter while reducing the need for backslashes. - Be prepared for the case in which the previous test may have failed. If a test wants to start from not having "frotz" that the previous test may have created, write "rm -f frotz", not "rm frotz". - Prepare the expected output inside your own test. - The order of comparison to check the result is "diff expected actual", so that the output will show how the output from the git you just broke is different from what is expected. - Write no SP between redirection '>' (or '<' for that matter) and the filename. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'RelNotes')
0 files changed, 0 insertions, 0 deletions