D1005: bdiff: fix misplaced comma in macro definition with clang-format

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Oct 12 07:16:20 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG72b24ac81d5d: bdiff: fix misplaced comma in macro definition with clang-format (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1005?vs=2586&id=2617

REVISION DETAIL
  https://phab.mercurial-scm.org/D1005

AFFECTED FILES
  mercurial/bdiff.c

CHANGE DETAILS

diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -19,7 +19,7 @@
 
 /* Hash implementation from diffutils */
 #define ROL(v, n) ((v) << (n) | (v) >> (sizeof(v) * CHAR_BIT - (n)))
-#define HASH(h, c) ((c) + ROL(h ,7))
+#define HASH(h, c) ((c) + ROL(h, 7))
 
 struct pos {
 	int pos, len;



To: durin42, #hg-reviewers, pulkit, ryanmce
Cc: mercurial-devel


More information about the Mercurial-devel mailing list