From 3f21fb99ab5335146617f21b885dc41afc7943d6 Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Tue, 19 Mar 2013 16:13:14 +0530 Subject: t4018,7810,7811: remove test_config() redefinition test_config() is already a well-defined function in test-lib-functions.sh. Don't duplicate it unnecessarily. Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- t/t4018-diff-funcname.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 't/t4018-diff-funcname.sh') diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh index 4bd2a1c83..9b5db6c77 100755 --- a/t/t4018-diff-funcname.sh +++ b/t/t4018-diff-funcname.sh @@ -93,11 +93,6 @@ sed -e ' s/song;/song();/ ' Beer-correct.perl -test_config () { - git config "$1" "$2" && - test_when_finished "git config --unset $1" -} - test_expect_funcname () { lang=${2-java} test_expect_code 1 git diff --no-index -U1 \ -- cgit v1.2.1