git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH] gitweb: improve title shortening heuristics

From
JRJulien Rouhaud <rjuju123@gmail.com>
Date
Jul 28, 2022, 01:30 UTC
Message-ID
<20220728013009.pqiobsquf7u6yyb4@jrouhaud>
In-Reply-To
<xmqq4jz3vzgb.fsf@gitster.g>
Hi,
On Tue, Jul 26, 2022 at 11:31:32PM -0700, Junio C Hamano wrote:
Show 17 quoted lines
>
> When you are sending the patch in for real, after making a non-patch
> discussion (all of the above), you can write a "scissors" line
>
> ----- >8 -----
>
> right here, immediately before your "From:" and "Subject:".  What it
> does is to tell "git am" on the receiving end to ignore everything
> it saw up to that point and pretend the message starts there.
>
> You do not want to include "From <object name>" line that is used as
> an internal separator in the mailbox format.  You do not want to
> include the "Date:" in-body header, either.  "From:" and "Subject:"
> are used often because they are frequently different from the e-mail
> (e.g. in the message I am responding to, the sender is rjuju123@gmail,
> not julien.rouhaud@free.fr, and we want the latter on the From: line
> because that is what appears on the Signed-off-by: line).
Ok, got it.
Show 15 quoted lines
> > From: Julien Rouhaud <julien.rouhaud@free.fr>
> > Subject: [PATCH v2] gitweb: Remove title_short shortening heuristics
> >
> > Those heuristics are way outdated and too general to be useful outside of
> > kernel.org.  Since kernel.org doesn't use gitweb anymore and at least one
> > project complained about incorrect behavior, entirely remove them.
> >
> > Signed-off-by: Julien Rouhaud <julien.rouhaud@free.fr>
> > ---
> >
> > Notes:
> >     Patch re-submitted inline rather than in attachment, sorry about the
> >     previous attachments.
>
> Thanks.  Will queue.
Thanks!
Previous: Junio C Hamano
Message 7 of 7 in “gitweb: improve title shortening heuristics”
  1. gitweb: improve title shortening heuristicsJulien Rouhaud, Jul 24, 2022
  2. Junio C HamanoJul 25, 2022
  3. Julien RouhaudJul 25, 2022
  4. Ævar Arnfjörð BjarmasonJul 25, 2022
  5. Julien RouhaudJul 26, 2022
  6. Junio C HamanoJul 27, 2022
  7. Julien RouhaudJul 28, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.