diff options
author | Stephen Boyd <bebarino@gmail.com> | 2010-01-25 16:33:57 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-25 16:42:23 -0800 |
commit | c4f3f551a61e138f8ace9523d6b16aff37b30302 (patch) | |
tree | 839c322653b2f465367f433b8cdca1e51af99081 /Documentation/RelNotes-1.5.4.4.txt | |
parent | commit-tree: remove unused #define (diff) | |
download | tgif-c4f3f551a61e138f8ace9523d6b16aff37b30302.tar.xz |
tests: consolidate CR removal/addition functions
append_cr(), remove_cr(), q_to_nul() and q_to_cr() are defined in multiple
tests. Consolidate them into test-lib.sh so we can stop redefining them.
The use of remove_cr() in t0020 to test for a CR is replaced with a new
function has_cr() to accurately reflect what is intended (the output of
remove_cr() was being thrown away).
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.4.4.txt')
0 files changed, 0 insertions, 0 deletions