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

Re: [PATCH] Add 'raw' blob_plain link in history overview

From
Job Snijders <job@instituut.net>
Date
Aug 22, 2017, 19:35 UTC
Message-ID
<20170822193520.GJ39363@Vurt.local>
In-Reply-To
<xmqqo9r72yrg.fsf@gitster.mtv.corp.google.com>
On Tue, Aug 22, 2017 at 12:22:43PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> Job Snijders <job@instituut.net> writes:
> > Add 'raw' blob_plain link in history overview
> >
> > Reviewed-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
> > Signed-off-by: Job Snijders <job@instituut.net>
> >
> > ---
> 
> Thanks; I somehow thought that your earlier one not just said what
> it does (twice---that is not needed) but why this change is useful,
> but that is lost in the patch description?

We often work with very large plain text files in our repositories and found it friendlier to the users if we can click directly to the raw version of such files.

Without this patch the workflow is to go to the history of a file, click the 'blob' link, and then click the 'raw' link. If the file is large (multiple megabytes) - rendering the html enveloppe to the blob can take quite some time in the browser DOM rendering.

This patch adds a 'raw' blob_plain link in history overview so you can immediately click to the 'raw' version, saving time and improving workflow.

Here is a screenshot of a gitweb instance with this patch applied:
    http://instituut.net/~job/screenshots/b0f30e21eb64d5dda75ddabd.png
Kind regards,
Job
Previous: Junio C HamanoNext: Giuseppe Bilotta
Message 8 of 12 in “Add 'raw' blob_plain link in history overview”
  1. Add 'raw' blob_plain link in history overviewJob Snijders, Aug 2, 2017
  2. Job SnijdersAug 20, 2017
  3. Giuseppe BilottaAug 21, 2017
  4. Job SnijdersAug 21, 2017
  5. Giuseppe BilottaAug 21, 2017
  6. Job SnijdersAug 21, 2017
  7. Junio C HamanoAug 22, 2017
  8. Job SnijdersAug 22, 2017
  9. Giuseppe BilottaAug 22, 2017
  10. Job SnijdersAug 22, 2017
  11. Junio C HamanoAug 22, 2017
  12. Junio C HamanoAug 22, 2017

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.