diff options
author | Sahil Dua <sahildua2305@gmail.com> | 2017-06-18 23:16:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-18 21:47:47 -0700 |
commit | 5463caab15fb795da2aab01827419b094146d1c4 (patch) | |
tree | 5225efd48f9d7373b34eacd437b11aac075f7c9d /git-compat-util.h | |
parent | 41dd4330a1210003bd702ec4a9301ed68e60864d (diff) | |
download | git-5463caab15fb795da2aab01827419b094146d1c4.tar.gz |
config: create a function to format section headers
Factor out the logic which creates section headers in the config file,
e.g. the 'branch.foo' key will be turned into '[branch "foo"]'.
This introduces no function changes, but is needed for a later change
which adds support for copying branch sections in the config file.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Sahil Dua <sahildua2305@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions