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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



options was missing OPT_END

Signed-off-by: Jay Soffian <jaysoffian@xxxxxxxxx>
---
 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux