diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-10-21 16:02:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-22 13:17:02 +0900 |
commit | a5db0b77b916014e732155d116575bdffbcbe79b (patch) | |
tree | 1604474b5e4af2f4afed370c0671de3a50c02fee /Documentation/RelNotes/2.12.2.txt | |
parent | Fifth batch for 2.20 (diff) | |
download | tgif-a5db0b77b916014e732155d116575bdffbcbe79b.tar.xz |
t1300: extract and use test_cmp_config()
In many config-related tests it's common to check if a config variable
has expected value and we want to print the differences when the test
fails. Doing it the normal way is three lines of shell code. Let's add
a function do to all this (and a little more).
This function has uses outside t1300 as well but I'm not going to
convert them all. And it will be used in the next commit where
per-worktree config feature is introduced.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.12.2.txt')
0 files changed, 0 insertions, 0 deletions