From: Junio C Hamano Date: Tue, 14 Feb 2012 22:58:00 GMT Subject: Re: [PATCHv3] git-p4: add initial support for RCS keywords Message-ID: <7vvcn93tvr.fsf@alter.siamese.dyndns.org> In-Reply-To: <1329258835-17223-2-git-send-email-luke@diamand.org> It seems that this seems to have been further refactored by introducing a couple of new helper functions. I'll replae what was queued in 'pu' with this, with the following minor fix-ups. Thanks. t/t9810-git-p4-rcs.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/t/t9810-git-p4-rcs.sh b/t/t9810-git-p4-rcs.sh index 77eebd2..3013bab 100755 --- a/t/t9810-git-p4-rcs.sh +++ b/t/t9810-git-p4-rcs.sh @@ -201,7 +201,7 @@ test_expect_success 'cleanup after failure 2' ' ) ' -create_kw_file() { +create_kw_file () { cat <<\EOF >"$1" /* A file Id: $Id$ @@ -226,7 +226,7 @@ test_expect_success 'add kwfile' ' ) ' -p4_append_to_file() { +p4_append_to_file () { f=$1 && p4 edit -t ktext "$f" && echo "/* $(date) */" >>"$f" && @@ -248,7 +248,7 @@ test_expect_success 'cope with rcs keyword expansion damage' ' old_lines=$(wc -l