Code

config: Add --null/-z option for null-delimted output
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 25 Jun 2007 14:03:55 +0000 (16:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2007 02:00:39 +0000 (19:00 -0700)
commit2275d502114c71045af991697048191fed88aac4
tree32bd976eed6f81d7afa538be7d9f03144c9101a6
parent68fb4650497d6acbf6d407513cd2e2d960442e3b
config: Add --null/-z option for null-delimted output

Use \n as delimiter between key and value and \0 as
delimiter after each key/value pair. This should be
easily parsable output.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
builtin-config.c
t/t1300-repo-config.sh