Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH v3] Give the hunk comment its own color

From: Bert Wesarg <hidden>
Date: 2016-06-15 22:47:47

quoted
       /* blank before the func header */
       for (cp = ep; ep - line < len; ep++)
               if (*ep != ' ' && *ep != 't')
Please check that its really an *ep != '\t'. Its wrong in this mail, I
see only an *ep != 't'.
Obviously, you have not checked it. Please squash this in:
diff --git i/diff.c w/diff.c
index eaa1983..e126304 100644
--- i/diff.c
+++ w/diff.c
@@ -376,7 +376,7 @@ static void emit_hunk_header(struct emit_callback *ecbdata,

        /* blank before the func header */
        for (cp = ep; ep - line < len; ep++)
-               if (*ep != ' ' && *ep != 't')
+               if (*ep != ' ' && *ep != '\t')
                        break;
        if (ep != cp)
                emit_line(ecbdata->file, plain, reset, cp, ep - cp);
Bert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help