Allow '-' in config variable names
commit38c5afa87e24756f0465e24c2b7018de62e4bfc1
authorLinus Torvalds <torvalds@osdl.org>
Mon, 30 Oct 2006 16:25:36 +0000 (30 08:25 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 03:39:12 +0000 (30 19:39 -0800)
tree2db1eca9400781b4ea41413c34764641d114c39e
parent83877f8d92b2050eb668dc3351277e57779a8f05
Allow '-' in config variable names

I need this in order to allow aliases of the same form as "ls-tree",
"rev-parse" etc, so that I can use

[alias]
my-cat=--paginate cat-file -p

to add a "git my-cat" command.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
config.c