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

Re: [PATCH] gitweb: Remove excessively redundant entries from git_difftree_body

From
Junio C Hamano <junkio@cox.net>
Date
Sep 28, 2006, 02:07 UTC
Message-ID
<7vmz8k7nhc.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060928002325.70519.qmail@web31815.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
Show 11 quoted lines
> 1) All entries on the left are blobs and clicking on them
> leads to blobs.  No more diff or blob depending on what
> happened (modified or mode changed) to the file -- this goes
> to the right, in the "link" column.
>
> 2) Remove redundant "blob" from the link column on the right.
> This can now be had by clicking on the entry itself.
>
> This reduces and simplifies the code.
>
> Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>

We lost blobdiff from commitdiff page with this patch, which I think it probably is a good change. We can say "when we display a pathname you can click it to get the blob or tree".

By the way, just like your "blob" and "tree" link removal, I think we can lose "commit" link in shortlog. The list looks rather cluttered with three links; we could replace it with "snapshot" link if we wanted to.

I am neutral about doing that for long log pages. The commit titles are links there as well, but they do not look like "one of the columns that can be clicked in a single line per row table" as in shortlog page. The page could also get "snapshot" links.

Previous: Luben TuikovNext: Luben Tuikov
Message 2 of 5 in “gitweb: Remove excessively redundant entries from git_difftree_body”
  1. gitweb: Remove excessively redundant entries from git_difftree_bodyLuben Tuikov, Sep 28, 2006
  2. Junio C HamanoSep 28, 2006
  3. Luben TuikovSep 28, 2006
  4. Jakub NarebskiOct 1, 2006
  5. Luben TuikovOct 2, 2006

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.