mpatch: switch alignment of wrapped line from tab to spaces with clang-format
authorAugie Fackler <augie@google.com>
Wed, 04 Oct 2017 11:00:04 -0400
changeset 34801 1f4249c764f1
parent 34800 761355833867
child 34802 9c7548eb7d1c
mpatch: switch alignment of wrapped line from tab to spaces with clang-format I may be a weird person for liking this style, but our C style is historically nominally the Linux Kernel style, and when you configure clang-format to be kernel-ish, this is what you get. If we want to change it, we can do so by tweaking the formatter rules in the future. Differential Revision: https://phab.mercurial-scm.org/D1132
mercurial/mpatch.c
--- a/mercurial/mpatch.c	Wed Oct 04 10:56:33 2017 -0400
+++ b/mercurial/mpatch.c	Wed Oct 04 11:00:04 2017 -0400
@@ -275,5 +275,5 @@
 	/* divide and conquer, memory management is elsewhere */
 	len = (end - start) / 2;
 	return combine(mpatch_fold(bins, get_next_item, start, start + len),
-		       mpatch_fold(bins, get_next_item, start + len, end));
+	               mpatch_fold(bins, get_next_item, start + len, end));
 }