Handle invalid argc gently
commit5b6df8e45f31c7eb26c30536448cffe1b715e1ce
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 14 Sep 2006 01:04:09 +0000 (14 05:04 +0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 14 Sep 2006 18:48:11 +0000 (14 11:48 -0700)
tree07277e193c5db09b3f9715bdc6d0a9ff1d294821
parent7977f0ea53fad7103c83e5bd61777da27451f1d6
Handle invalid argc gently

describe, git: Handle argc==0 case the same way as argc==1.
merge-tree: Refuse excessive arguments.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
describe.c
git.c
merge-tree.c