summaryrefslogtreecommitdiff
path: root/vcs-svn/line_buffer.txt
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2011-05-21 14:25:14 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-21 22:29:31 -0700
commitd64d6cdc2071d1eb7f6a45118edc42627e6fc692 (patch)
treec70d6b85dd3d4b2eec31018b2954ade0df1e6bda /vcs-svn/line_buffer.txt
parentt4018 (funcname patterns): make configuration easier to track (diff)
downloadtgif-d64d6cdc2071d1eb7f6a45118edc42627e6fc692.tar.xz
t4018 (funcname patterns): minor cleanups
Introduce a test_expect_funcname function to make a diff and apply a regexp anchored on the left to the function name it writes, avoiding some repetition. Omit the space after >, <<, and < operators for consistency with other scripts. Quote the <<here document delimiter and $ signs in quotes so readers don't have to worry about the effect of shell metacharacters. Remove some unnecessary blank lines. Run "git diff" as a separate command instead of as upstream of a pipe that checks its output, so the exit status can be tested. In particular, this way if "git diff" starts segfaulting the test harness will notice. Allow "error:" as a synonym for "fatal:" when checking error messages, since whether a command uses die() or "return error()" is a small implementation detail. Anchor some more regexes on the right. None of the above is very important on its own; the point is just to make the script a little easier to read and the code less scary to modify. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn/line_buffer.txt')
0 files changed, 0 insertions, 0 deletions