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 /dir.c | |
parent | Merge branch 'master' of git://bogomips.org/git-svn (diff) | |
download | tgif-5463caab15fb795da2aab01827419b094146d1c4.tar.xz |
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 'dir.c')
0 files changed, 0 insertions, 0 deletions