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

Re: suggestions for gitweb

From
MNMichael Niedermayer <michaelni@gmx.at>
Date
May 14, 2007, 17:37 UTC
Message-ID
<20070514173714.GA14859@MichaelsNB>
In-Reply-To
<200705141849.36457.jnareb@gmail.com>
Hi

On Mon, May 14, 2007 at 06:49:35PM +0200, Jakub Narebski wrote: [...]

Show 16 quoted lines
> I think it would be nice to have --blame option to git-ls-tree 
> (optionally copuled with --porcelain and perhaps --incremental, like
> in git-blame), which would return blame information for tree entries.
> It means that for each tree entry return commit closest to given commit
> (or furthest from a given commit) which has changed entry to current
> version. It should be much easier and faster than to do "blob"-blame.
> 
> The --porcelain would also return 'last changed' info, like committer
> info for a commit-which-changed.
> 
> But is this info actually interesting, or is it there in ViewVC because
> it is easy to get this info in CVS and Subversion? The "last changed"
> info for tree entries encourages to think of a history as a collection
> of per file histories... while git is all about whole project history.
> Note that history of two files is *more* than concatenation of
> histories of those individual files. See entries on GitFaq wiki page:

well, i do think that the age can be interesting, consider the 2 hypothetical cases: 'release_notes.txt 5 years ago' while all other files have been recently changed clearly says: noone cares about this file or there was no release in the last 5 years

also for example 'vo_x11.c 2 days ago michael update all vos to use correct foobar' 'vo_mga.c 8 weeks ago diego spelling fixes' would immedeatly hint that ive forgotten vo_mga.c ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
Previous: Jakub NarebskiNext: Jan Hudec
Message 20 of 21 in “suggestions for gitweb”
  1. Michael NiedermayerMay 12, 2007
  2. Junio C HamanoMay 12, 2007
  3. Aaron GrayMay 12, 2007
  4. Jakub NarebskiMay 13, 2007
  5. Junio C HamanoMay 13, 2007
  6. Jakub NarebskiMay 13, 2007
  7. Lars HjemliMay 13, 2007
  8. Suggestions for cgit (was: Re: suggestions for gitweb)Jakub Narebski, May 14, 2007
  9. Lars HjemliMay 14, 2007
  10. Lars HjemliMay 15, 2007
  11. Michael NiedermayerMay 13, 2007
  12. Jakub NarebskiMay 13, 2007
  13. Junio C HamanoMay 14, 2007
  14. Petr BaudisMay 14, 2007
  15. Michael NiedermayerMay 14, 2007
  16. Petr BaudisMay 14, 2007
  17. Michael NiedermayerMay 14, 2007
  18. Petr BaudisMay 14, 2007
  19. Jakub NarebskiMay 14, 2007
  20. Michael NiedermayerMay 14, 2007
  21. Jan HudecMay 15, 2007

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.