Code

builtin-checkout.c: fix possible usage segfault
authorJay Soffian <jaysoffian@gmail.com>
Mon, 18 Feb 2008 10:20:20 +0000 (05:20 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Feb 2008 03:19:06 +0000 (19:19 -0800)
commitb249b552e012824f1bd5026187bf9b895c2132c6
tree2096cb6b41f418aec8603e3571c4b9d0a6433518
parent79a1e6b432d7d7ffaf2079d4cf895583502ca923
builtin-checkout.c: fix possible usage segfault

Not terminating the options[] array with OPT_END can cause
usage ("git checkout -h") output to segfault.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c