DORMANTno replies

[PATCH] builtin-checkout.c: fix usage segfault

From: Jay Soffian <hidden>
Date: 2016-06-15 22:44:14
Subsystem: the rest · Maintainer: Linus Torvalds

options was missing OPT_END

Signed-off-by: Jay Soffian <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help