Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH v2] parse-opt: migrate builtin-apply.

From: Pierre Habouzit <hidden>
Date: 2016-06-15 22:45:52

On Sat, Dec 27, 2008 at 09:47:13PM +0000, Junio C Hamano wrote:
Miklos Vajna [off-list ref] writes:
quoted
+static int option_parse_inaccurate(const struct option *opt,
+				   const char *arg, int unset)
+{
+	options |= INACCURATE_EOF;
+	return 0;
+}
+
+static int option_parse_recount(const struct option *opt,
+				const char *arg, int unset)
+{
+	options |= RECOUNT;
+	return 0;
+}
I still haven't applied and ran the testsuite myself, but these makes me
wonder if there isn't a built-in "bit" type support in parse_options().
There is.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help