Skip to contentSkip to conversation

builtin-checkout.c: fix usage segfault

PATCH New Jay Soffian 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 builtin-checkout.c: fix usage segfault

options was missing OPT_END

---
 builtin-checkout.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
builtin-checkout.c +1 -0
index 9370ba0..0d19835 100644
@@ -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));
Signature · 1 line
1.5.4.2.183.g9fe5b