Mercurial > hg
changeset 34801:1f4249c764f1
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 04 Oct 2017 11:00:04 -0400 |
parents | 761355833867 |
children | 9c7548eb7d1c |
files | mercurial/mpatch.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)); }