<div dir="ltr"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sorry, that's on your end. If you're using the Gmail web interface,<br>make sure to click "Show original" before you copy-and-paste, as Gmail<br>tends to add buttons and mangle messages in various ways.<br></blockquote><div><ul><li> "Show original" displays an encrypted message</li><li>the patch from a <a href="https://www.mail-archive.com/cgit@lists.zx2c4.com/msg02904.html">non-gmail source</a> after removing the non-original added new lines (as <b>attached below</b>) raises multiple issues, maybe because all tabulations have been replaced by spaces: </li></ul><div><b>git checkout -f v1.2.1-24-ge1ad15d</b></div><div><b>git apply --verbose ../default-pages.patch</b><br></div></div><div>Checking patch cgit.c...<br>error: while searching for:<br>               repo->homepage = xstrdup(value);<br>       else if (!strcmp(name, "defbranch"))<br>               repo->defbranch = xstrdup(value);<br>       else if (!strcmp(name, "extra-head-content"))<br>               repo->extra_head_content = xstrdup(value);<br>       else if (!strcmp(name, "snapshots"))<br><br>error: patch failed: cgit.c:46<br>error: cgit.c: patch does not apply<br>Checking patch cgit.h...<br>error: while searching for:<br>       char *owner;<br>       char *homepage;<br>       char *defbranch;<br>       char *module_link;<br>       struct string_list readme;<br>       char *section;<br><br>error: patch failed: cgit.h:86<br>error: cgit.h: patch does not apply<br>Checking patch cgitrc.5.txt...<br>error: while searching for:<br>       Url which specifies the css document to include in all cgit pages.<br>       Default value: "/cgit.css".<br><br>email-filter::<br>       Specifies a command which will be invoked to format names and email<br>       address of committers, authors, and taggers, as represented in various<br><br>error: patch failed: cgitrc.5.txt:128<br>error: cgitrc.5.txt: patch does not apply<br>Checking patch cmd.c...<br>error: while searching for:<br>                       free(redirect);<br>               } else if (ctx.repo-><a href="http://readme.nr">readme.nr</a>)<br>                       cgit_print_repo_readme(ctx.qry.path);<br>               else if (ctx.repo->homepage)<br>                       cgit_redirect(ctx.repo->homepage, false);<br>               else {<br>                       char *currenturl = cgit_currenturl();<br>                       char *redirect = fmtalloc("%s../", currenturl);<br>                       cgit_redirect(redirect, false);<br>                       free(currenturl);<br>                       free(redirect);<br>               }<br>       } else<br><br>error: patch failed: cmd.c:51<br>error: cmd.c: patch does not apply<br>Checking patch ui-repolist.c...<br>error: while searching for:<br>               }<br>               htmlf("<tr><td class='%s'>",<br>                     !sorted && section ? "sublevel-repo" : "toplevel-repo");<br>               cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);<br>               html("</td><td>");<br>               repourl = cgit_repourl(ctx.repo->url);<br>               html_link_open(repourl, NULL, NULL);<br><br>error: patch failed: ui-repolist.c:321<br>error: ui-repolist.c: patch does not apply<br>Checking patch ui-shared.c...<br>error: while searching for:<br>       html("</a>");<br>}<br><br>void cgit_summary_link(const char *name, const char *title, const char *class,<br>                      const char *head)<br>{<br>       reporevlink(NULL, name, title, class, head, NULL, NULL);<br>}<br><br>void cgit_tag_link(const char *name, const char *title, const char *class,<br><br>error: patch failed: ui-shared.c:327<br>error: ui-shared.c: patch does not apply<br>Checking patch ui-shared.h...<br>error: while searching for:<br><br>extern void cgit_index_link(const char *name, const char *title,<br>                           const char *class, const char *pattern, const char *sort, int ofs, int always_root);<br>extern void cgit_summary_link(const char *name, const char *title,<br>                             const char *class, const char *head);<br>extern void cgit_tag_link(const char *name, const char *title,<br><br>error: patch failed: ui-shared.h:17<br>error: ui-shared.h: patch does not apply<br></div></div><div><br></div><div>Could you attach the correct patch in your answer that we could apply to the latest master commit? </div><div><br></div><div>--</div><div dir="ltr" class="gmail_signature">Jean-Christophe</div></div>