repo-config: fix segfault with no argument.
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 2 May 2006 19:54:12 +0000 (12:54 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 2 May 2006 19:54:12 +0000 (12:54 -0700)
commitcfa24e184a67cc36f414d913cf705d31e70a7a1a
treebe81413ee9d7320aa375ab31ebf1498bf74d4aa9
parent746437d534a1fa84e210427a94972ed0c7f34ee5
repo-config: fix segfault with no argument.

An earlier addition of --list feature was carelessly done and
caused an invalid access to argv[1] when it was not given.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
repo-config.c