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

Re: [PATCH/RFC 0/4] gitweb: ViewVC-like "tree_blame" view

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 31, 2006, 01:05 UTC
Message-ID
<ed5cke$n4m$1@sea.gmane.org>
In-Reply-To
<200608310247.05385.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer wrote:
Show 10 quoted lines
> On Thursday 31 August 2006 02:18, Jakub Narebski wrote:
>> Ooops, I forgot to explain this. Strike-through, which actually should be
>> using different color like red for example means that the file has
>> 1-commit long history, i.e. it just appeared in given commit.
> 
> Seems useful. Perhaps better green. And red for...
> (As you talk about "just appeared") What's about deleted files, similar
> to attic in CVS? It could be quite useful to provide an alternate
> tree-blame mode including deleted files; where the given commit
> would specify the deletion.
Deletion, or renaming.

Actually the currently used implementation (2-items max length history for each file) doesn't allow for that. The other two implementations (you can choose other 2 implementations by changing 'rev-list' in "my $version = shift || 'rev-list'" to 'diff-tree' or 'ls-tree') can do this. I think it would be perhaps easiest with git-ls-tree, if git-ls-tree would acquire --stdin option, similar to git-diff-tree...

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Josef WeidendorferNext: Jakub Narebski
Message 6 of 9 in “gitweb: ViewVC-like "tree_blame" view”
  1. 0/4 gitweb: ViewVC-like "tree_blame" viewJakub Narebski, Aug 30, 2006
  2. Jakub NarebskiAug 30, 2006
  3. Junio C HamanoAug 31, 2006
  4. Jakub NarebskiAug 31, 2006
  5. Josef WeidendorferAug 31, 2006
  6. Jakub NarebskiAug 31, 2006
  7. Jakub NarebskiAug 31, 2006
  8. Thomas GlanzmannAug 31, 2006
  9. Jakub NarebskiAug 31, 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.