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

Re: [PATCH bg/format-patch-p-noop] log-tree: always add --- marker when options are patch and a stat

From: Stephen Boyd <hidden>
Date: 2016-06-15 22:47:39

Jeff King wrote:
This patch unbreaks what 68daa64 did (while still preserving
what 68daa64 was trying to do), reinstating "-p" to suppress
the default behavior. We do this by parsing "-p" ourselves
in format-patch, and noting whether it was used explicitly.

Signed-off-by: Jeff King <redacted>
---
  
This looks good to me; covering 2 and 3 of Junio's TODO list.
quoted hunk ↗ jump to hunk
@@ -940,6 +941,8 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
 		{ OPTION_CALLBACK, 0, "thread", &thread, "style",
 			    "enable message threading, styles: shallow, deep",
 			    PARSE_OPT_OPTARG, thread_callback },
+		OPT_BOOLEAN('p', NULL, &use_patch_format,
+			"show patch format instead of default (patch + stat)"),
 		OPT_END()
 	};
I don't imagine we want this option in the messaging group though. Can 
you move it up?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help