summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-06-16 21:18:54 +0200
committerJunio C Hamano <gitster@pobox.com>2014-06-16 21:18:54 +0200
commitbbfa0cc7f8fdfb323ad108bb1dbb7543558cf864 (patch)
tree4bed7adbdb15e07ba974ff1244f5ef0d98037bd0 /t
parentMerge branch 'dt/refs-check-refname-component-optim' (diff)
parentt/t7810-grep.sh: remove duplicate test_config() (diff)
downloadgit-bbfa0cc7f8fdfb323ad108bb1dbb7543558cf864.tar.xz
git-bbfa0cc7f8fdfb323ad108bb1dbb7543558cf864.zip
Merge branch 'jm/dedup-test-config'
* jm/dedup-test-config: t/t7810-grep.sh: remove duplicate test_config()
Diffstat (limited to 't')
-rwxr-xr-xt/t7810-grep.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh
index 63b3039243..40615debc4 100755
--- a/t/t7810-grep.sh
+++ b/t/t7810-grep.sh
@@ -1096,11 +1096,6 @@ test_expect_success 'grep -E pattern with grep.patternType=fixed' '
test_cmp expected actual
'
-test_config() {
- git config "$1" "$2" &&
- test_when_finished "git config --unset $1"
-}
-
cat >expected <<EOF
hello.c<RED>:<RESET>int main(int argc, const char **argv)
hello.c<RED>-<RESET>{