* [PATCH] builtin-checkout.c: fix usage segfault
@ 2008-02-18 10:20 Jay Soffian
0 siblings, 0 replies; only message in thread
From: Jay Soffian @ 2008-02-18 10:20 UTC (permalink / raw)
To: git; +Cc: Jay Soffian, Junio C Hamano
options was missing OPT_END
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
---
builtin-checkout.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/builtin-checkout.c b/builtin-checkout.c
index 9370ba0..0d19835 100644
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
@@ -545,6 +545,7 @@ int cmd_checkout(int argc, const char **argv, const char *prefix)
OPT_BOOLEAN( 0 , "track", &opts.track, "track"),
OPT_BOOLEAN('f', NULL, &opts.force, "force"),
OPT_BOOLEAN('m', NULL, &opts.merge, "merge"),
+ OPT_END(),
};
memset(&opts, 0, sizeof(opts));
--
1.5.4.2.183.g9fe5b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-18 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18 10:20 [PATCH] builtin-checkout.c: fix usage segfault Jay Soffian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).