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

Re: [PATCH v2 2/3] textconv: support for blame

From: Jeff King <hidden>
Date: 2016-06-15 22:48:57

On Fri, Jun 11, 2010 at 04:52:19PM -0700, Junio C Hamano wrote:
Axel Bonnet [off-list ref] writes:
quoted
+	switch (userdiff_config(var, value)) {
+		case 0: break;
+		case -1: return -1;
+		default: return 0;
+	}
Style:

	switch (userdiff_config(var, value)) {
	case 0:
		break;
	case -1:
        	return -1;
	default:
        	return 0;
	}
This is cut-and-paste from some of my code in git_diff_basic_config. I
dunno if it is worth style-fixing that one, too.

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