]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'yd/use-test-config-unconfig'
authorJunio C Hamano <gitster@pobox.com>
Thu, 28 Mar 2013 21:38:27 +0000 (14:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Mar 2013 21:38:27 +0000 (14:38 -0700)
Bulk-update of the test suite.

* yd/use-test-config-unconfig:
  t5520: use test_config to set/unset git config variables (leftover bits)
  t7600: use test_config to set/unset git config variables
  t7502: remove clear_config
  t7502: use test_config to set/unset git config variables
  t9500: use test_config to set/unset git config variables
  t7508: use test_config to set/unset git config variables
  t7500: use test_config to set/unset git config variables
  t5541: use test_config to set/unset git config variables
  t5520: use test_config to set/unset git config variables
  t4202: use test_config/test_unconfig to set/unset git config variables
  t4034: use test_config/test_unconfig to set/unset git config variables
  t4304: use test_config to set/unset git config variables
  t3400: use test_config to set/unset git config variables

1  2 
t/t7502-commit.sh
t/t7508-status.sh

index f9b44b72449d258647c5278c52e5c792ee10445e,b0ae7059367fdb50dfc04fe87ae69e03abbb03bd..256137f07affdf9ed838bfe5a788c3df11821898
@@@ -171,21 -171,11 +171,20 @@@ test_expect_success 'verbose' 
  
  test_expect_success 'verbose respects diff config' '
  
-       git config color.diff always &&
+       test_config color.diff always &&
        git status -v >actual &&
-       grep "\[1mdiff --git" actual &&
-       git config --unset color.diff
+       grep "\[1mdiff --git" actual
  '
  
 +mesg_with_comment_and_newlines='
 +# text
 +
 +'
 +
 +test_expect_success 'prepare file with comment line and trailing newlines'  '
 +      printf "%s" "$mesg_with_comment_and_newlines" >expect
 +'
 +
  test_expect_success 'cleanup commit messages (verbatim option,-t)' '
  
        echo >>negative &&
Simple merge