{"thread":{"id":"36840","subject":"[PATCH] t/t7810-grep.sh: remove duplicate test_config()","startedAt":"2014-06-05T05:18:18Z","lastAt":"2014-06-05T05:18:18Z","messageCount":1,"participants":["Jeremiah Mahler"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"243363","messageId":"1401945498-26330-1-git-send-email-jmmahler@gmail.com","threadId":"36840","inReplyTo":null,"subject":"[PATCH] t/t7810-grep.sh: remove duplicate test_config()","fromName":"Jeremiah Mahler","fromEmail":"jmmahler@gmail.com","sentAt":"2014-06-05T05:18:18Z","receivedAt":"2014-06-05T05:18:18Z","isPatch":true,"sender":{"key":"jmmahler@gmail.com","avatar":"https://avatars.githubusercontent.com/u/154028?v=4"},"body":"t/t7810-grep.sh had its own test_config() function which served the\nsame purpose as the one in t/test-lib-functions.sh.  Removed, all tests\npass.\n\nSigned-off-by: Jeremiah Mahler <jmmahler@gmail.com>\n---\n t/t7810-grep.sh | 5 -----\n 1 file changed, 5 deletions(-)\n\ndiff --git a/t/t7810-grep.sh b/t/t7810-grep.sh\nindex 63b3039..40615de 100755\n--- a/t/t7810-grep.sh\n+++ b/t/t7810-grep.sh\n@@ -1096,11 +1096,6 @@ test_expect_success 'grep -E pattern with grep.patternType=fixed' '\n \ttest_cmp expected actual\n '\n \n-test_config() {\n-\tgit config \"$1\" \"$2\" &&\n-\ttest_when_finished \"git config --unset $1\"\n-}\n-\n cat >expected <<EOF\n hello.c<RED>:<RESET>int main(int argc, const char **argv)\n hello.c<RED>-<RESET>{\n-- \n2.0.0.153.g79dcccc\n"}]}