author | Thomas Rast <trast@student.ethz.ch> | |
Thu, 23 Feb 2012 09:42:23 +0000 (10:42 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 23 Feb 2012 21:53:27 +0000 (13:53 -0800) | ||
commit | 8a557bb77fc009b00f7952f0d3d6ebd33079f70e | |
tree | e2e2fd250009b3067baeb73d92910b7de43306f6 | tree | snapshot |
parent | 1c5f93b9a69f4c1c3d09853243562b9ae3bf79a6 | commit | diff |
t5704: match tests to modern style
The test did not adhere to the current style on several counts:
. empty lines around the test blocks, but within the test string
. ': > file' or even just '> file' with an extra space
. inconsistent indentation
. hand-rolled commits instead of using test_commit
Fix all of them.
There's a catch to the last point: test_commit creates a tag, which the
original test did not create. We still change it to test_commit, and
explicitly delete the tags, so as to highlight that the test relies on not
having them.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The test did not adhere to the current style on several counts:
. empty lines around the test blocks, but within the test string
. ': > file' or even just '> file' with an extra space
. inconsistent indentation
. hand-rolled commits instead of using test_commit
Fix all of them.
There's a catch to the last point: test_commit creates a tag, which the
original test did not create. We still change it to test_commit, and
explicitly delete the tags, so as to highlight that the test relies on not
having them.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5704-bundle.sh | diff | blob | history |