diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2008-02-18 05:20:20 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-18 19:19:06 -0800 |
commit | b249b552e012824f1bd5026187bf9b895c2132c6 (patch) | |
tree | 2096cb6b41f418aec8603e3571c4b9d0a6433518 /var.c | |
parent | checkout: notice when the switched branch is behind or forked (diff) | |
download | tgif-b249b552e012824f1bd5026187bf9b895c2132c6.tar.xz |
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>
Diffstat (limited to 'var.c')
0 files changed, 0 insertions, 0 deletions