summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorSahil Dua <sahildua2305@gmail.com>2017-06-18 23:16:31 +0200
committerJunio C Hamano <gitster@pobox.com>2017-06-18 21:47:47 -0700
commit5463caab15fb795da2aab01827419b094146d1c4 (patch)
tree5225efd48f9d7373b34eacd437b11aac075f7c9d /version.c
parent41dd4330a1210003bd702ec4a9301ed68e60864d (diff)
downloadgit-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 'version.c')
0 files changed, 0 insertions, 0 deletions