author | Linus Torvalds <torvalds@osdl.org> | |
Mon, 30 Oct 2006 16:25:36 +0000 (08:25 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 31 Oct 2006 03:39:12 +0000 (19:39 -0800) | ||
commit | 38c5afa87e24756f0465e24c2b7018de62e4bfc1 | |
tree | 2db1eca9400781b4ea41413c34764641d114c39e | tree | snapshot |
parent | 83877f8d92b2050eb668dc3351277e57779a8f05 | commit | diff |
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>
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 | diff | blob | history |