summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2017-06-18 23:17:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-18 21:47:56 -0700
commitc8b2cec09e548df7c948e5f4453381f0a3b0f6a9 (patch)
treeff6fa7c75df509fcb3e7caea5f5fe529201a203f /refs.h
parentconfig: create a function to format section headers (diff)
downloadtgif-c8b2cec09e548df7c948e5f4453381f0a3b0f6a9.tar.xz
branch: add test for -m renaming multiple config sections
Add a test for how 'git branch -m' handles the renaming of multiple config sections existing for one branch. The config format we use is hybrid machine/human editable, and we do our best to preserve the likes of comments and formatting when editing the file with git-config. This adds a test for the currently expected semantics in the face of some rather obscure edge cases which are unlikely to occur in practice. Helped-by: Sahil Dua <sahildua2305@gmail.com> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Sahil Dua <sahildua2305@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
0 files changed, 0 insertions, 0 deletions