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

Re: [PATCH] git fast-export: add --no-data option

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:47:06

Possibly related (same subject, not in this thread)

Hi,

On Sat, 25 Jul 2009, Junio C Hamano wrote:
Geoffrey Irving [off-list ref] writes:
quoted
@@ -504,6 +508,8 @@ int cmd_fast_export(int argc, const char **argv,
const char *prefix)
 			     "Import marks from this file"),
 		OPT_BOOLEAN(0, "fake-missing-tagger", &fake_missing_tagger,
 			     "Fake a tagger when tags lack one"),
+		OPT_BOOLEAN(0, "no-data", &no_data,
+			     "Skip output of blob data"),
Shouldn't this be --[no-]data option that defaults to true?  Otherwise you
would accept --no-no-data that looks silly.
Maybe

		OPT_NEGBIT(0, "data", &no_data,
			     "Skip output of blob data", 1),

Hmm?

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